|
@@ -56,6 +56,8 @@ class gfw_marion(base):
|
56
|
56
|
self.gui_main_light = gui_light(mqtt_client, config.TOPIC_GFW_MARION_MAIN_LIGHT_GUI, True, False, False)
|
57
|
57
|
self.main_light = shelly(mqtt_client, config.TOPIC_GFW_MARION_MAIN_LIGHT_SHELLY, input_0_func=shelly.INPUT_FUNC_OUT1_TRIGGER)
|
58
|
58
|
self.main_light.add_channel_name(shelly.KEY_OUTPUT_0, "Main Light")
|
|
59
|
+ self.radiator_valve = brennenstuhl_radiator_valve(mqtt_client, config.TOPIC_GFW_MARION_RADIATOR_VALVE_ZIGBEE)
|
|
60
|
+ self.gui_radiator_valve = gui_radiator_valve(mqtt_client, config.TOPIC_GFW_MARION_RADIATOR_VALVE_GUI)
|
59
|
61
|
|
60
|
62
|
|
61
|
63
|
class gfw_dirk(base):
|
|
@@ -87,6 +89,9 @@ class gfw_dirk(base):
|
87
|
89
|
self.led_array.add_channel_name(gui_led_array.KEY_LED_0, "Main Light")
|
88
|
90
|
self.led_array.add_channel_name(gui_led_array.KEY_LED_1, "Desk Light")
|
89
|
91
|
self.led_array.add_channel_name(gui_led_array.KEY_LED_2, "Amplifier")
|
|
92
|
+ #
|
|
93
|
+ self.radiator_valve = brennenstuhl_radiator_valve(mqtt_client, config.TOPIC_GFW_DIRK_RADIATOR_VALVE_ZIGBEE)
|
|
94
|
+ self.gui_radiator_valve = gui_radiator_valve(mqtt_client, config.TOPIC_GFW_DIRK_RADIATOR_VALVE_GUI)
|
90
|
95
|
|
91
|
96
|
|
92
|
97
|
class gfw(base):
|
|
@@ -108,15 +113,30 @@ class ffw_julian(base):
|
108
|
113
|
|
109
|
114
|
class ffw_livingroom(base):
|
110
|
115
|
def __init__(self, mqtt_client):
|
111
|
|
- self.gui_main_light = gui_light(mqtt_client, config.TOPIC_FFW_LIVINGROOM_MAIN_LIGHT_GUI, True, False, False)
|
|
116
|
+ self.gui_main_light = gui_light(mqtt_client, config.TOPIC_FFW_LIVINGROOM_MAIN_LIGHT_GUI, True, True, True)
|
112
|
117
|
self.main_light = shelly(mqtt_client, config.TOPIC_FFW_LIVINGROOM_MAIN_LIGHT_SHELLY, input_0_func=shelly.INPUT_FUNC_OUT1_TRIGGER)
|
113
|
118
|
self.main_light.add_channel_name(shelly.KEY_OUTPUT_0, "Main Light")
|
114
|
119
|
|
115
|
120
|
|
|
121
|
+class ffw_sleep(base):
|
|
122
|
+ def __init__(self, mqtt_client):
|
|
123
|
+ self.gui_main_light = gui_light(mqtt_client, config.TOPIC_FFW_SLEEP_MAIN_LIGHT_GUI, True, True, False)
|
|
124
|
+ self.main_light = shelly(mqtt_client, config.TOPIC_FFW_SLEEP_MAIN_LIGHT_SHELLY, input_0_func=shelly.INPUT_FUNC_OUT1_TRIGGER)
|
|
125
|
+ self.main_light.add_channel_name(shelly.KEY_OUTPUT_0, "Main Light")
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+class ffw_bath(base):
|
|
129
|
+ def __init__(self, mqtt_client):
|
|
130
|
+ self.radiator_valve = brennenstuhl_radiator_valve(mqtt_client, config.TOPIC_FFW_BATH_RADIATOR_VALVE_ZIGBEE)
|
|
131
|
+ self.gui_radiator_valve = gui_radiator_valve(mqtt_client, config.TOPIC_FFW_BATH_RADIATOR_VALVE_GUI)
|
|
132
|
+
|
|
133
|
+
|
116
|
134
|
class ffw(base):
|
117
|
135
|
def __init__(self, mqtt_client):
|
118
|
136
|
self.julian = ffw_julian(mqtt_client)
|
119
|
137
|
self.livingroom = ffw_livingroom(mqtt_client)
|
|
138
|
+ self.sleep = ffw_sleep(mqtt_client)
|
|
139
|
+ self.bath = ffw_bath(mqtt_client)
|
120
|
140
|
|
121
|
141
|
|
122
|
142
|
class ffe_floor(base):
|