|
@@ -106,20 +106,20 @@ class first_floor_west_living(room):
|
106
|
106
|
# main light
|
107
|
107
|
self.main_light_shelly = devices.shelly(mqtt_client, config.TOPIC_FFW_LIVINGROOM_MAIN_LIGHT_SHELLY)
|
108
|
108
|
self.main_light_tradfri = devices.tradfri_light(mqtt_client, config.TOPIC_FFW_LIVINGROOM_MAIN_LIGHT_ZIGBEE)
|
109
|
|
- # heating function
|
110
|
|
- self.heating_valve = devices.brennenstuhl_heatingvalve(mqtt_client, config.TOPIC_FFW_LIVINGROOM_HEATING_VALVE_ZIGBEE)
|
|
109
|
+ # # heating function
|
|
110
|
+ # self.heating_valve = devices.brennenstuhl_heatingvalve(mqtt_client, config.TOPIC_FFW_LIVINGROOM_HEATING_VALVE_ZIGBEE)
|
111
|
111
|
super().__init__(mqtt_client)
|
112
|
112
|
|
113
|
113
|
#
|
114
|
114
|
# Functionality initialisation
|
115
|
115
|
#
|
116
|
|
- # heating function
|
117
|
|
- self.heating_function = heating_function(
|
118
|
|
- self.heating_valve,
|
119
|
|
- config.DEFAULT_TEMPERATURE[self.heating_valve.topic],
|
120
|
|
- **get_radiator_data(self.heating_valve.topic)
|
121
|
|
- )
|
122
|
|
- self.heating_function.add_callback(None, None, set_radiator_data, True)
|
|
116
|
+ # # heating function
|
|
117
|
+ # self.heating_function = heating_function(
|
|
118
|
+ # self.heating_valve,
|
|
119
|
+ # config.DEFAULT_TEMPERATURE[self.heating_valve.topic],
|
|
120
|
+ # **get_radiator_data(self.heating_valve.topic)
|
|
121
|
+ # )
|
|
122
|
+ # self.heating_function.add_callback(None, None, set_radiator_data, True)
|
123
|
123
|
|
124
|
124
|
#
|
125
|
125
|
# Virtual Device Interface
|
|
@@ -131,11 +131,11 @@ class first_floor_west_living(room):
|
131
|
131
|
self.main_light_tradfri, devices.tradfri_light.KEY_BRIGHTNESS,
|
132
|
132
|
self.main_light_tradfri, devices.tradfri_light.KEY_COLOR_TEMP
|
133
|
133
|
)
|
134
|
|
- # heating function
|
135
|
|
- self.heating_function_videv = videv_heating(
|
136
|
|
- mqtt_client, config.TOPIC_FFW_LIVINGROOM_HEATING_VALVE_VIDEV,
|
137
|
|
- self.heating_function
|
138
|
|
- )
|
|
134
|
+ # # heating function
|
|
135
|
+ # self.heating_function_videv = videv_heating(
|
|
136
|
+ # mqtt_client, config.TOPIC_FFW_LIVINGROOM_HEATING_VALVE_VIDEV,
|
|
137
|
+ # self.heating_function
|
|
138
|
+ # )
|
139
|
139
|
|
140
|
140
|
|
141
|
141
|
class first_floor_west_sleep(room):
|