diff --git a/api/thermostat.php b/api/thermostat.php index 5b4df44..f9c1786 100644 --- a/api/thermostat.php +++ b/api/thermostat.php @@ -280,6 +280,8 @@ class thermostat extends cora\crud { $where = []; + $where[] = '`profile` is not null'; + $keys_generated_columns = [ 'system_type_heat', 'system_type_heat_stages',