|
@@ -4,8 +4,10 @@
|
4
|
4
|
|
5
|
5
|
import config
|
6
|
6
|
import logging
|
|
7
|
+from function.modules import radiator_function
|
7
|
8
|
from function.rooms import room_shelly, room_shelly_tradfri_light
|
8
|
9
|
|
|
10
|
+
|
9
|
11
|
try:
|
10
|
12
|
from config import APP_NAME as ROOT_LOGGER_NAME
|
11
|
13
|
except ImportError:
|
|
@@ -23,3 +25,10 @@ class first_floor_west_living(room_shelly):
|
23
|
25
|
# http://shelly1l-84CCA8ACE6A1
|
24
|
26
|
def __init__(self, mqtt_client):
|
25
|
27
|
super().__init__(mqtt_client, config.TOPIC_FFW_LIVINGROOM_MAIN_LIGHT_SHELLY, config.TOPIC_FFW_LIVINGROOM_MAIN_LIGHT_GUI)
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+class first_floor_west_bath(object):
|
|
31
|
+ def __init__(self, mqtt_client):
|
|
32
|
+ # radiator valve
|
|
33
|
+ self.radiator_function = radiator_function(mqtt_client, config.TOPIC_FFW_BATH_RADIATOR_VALVE_ZIGBEE,
|
|
34
|
+ config.TOPIC_FFW_BATH_RADIATOR_VALVE_GUI, config.DEFAULT_TEMPERATURE_FFW_BATH)
|