Bläddra i källkod

FFW Topics for main_light bath and floor added / fixed

master
Dirk Alders 2 månader sedan
förälder
incheckning
4a104a5034
2 ändrade filer med 6 tillägg och 3 borttagningar
  1. 2
    2
      function/first_floor_west.py
  2. 4
    1
      topics.py

+ 2
- 2
function/first_floor_west.py Visa fil

@@ -46,7 +46,7 @@ class first_floor_west_floor(room):
46 46
         #
47 47
         # main light
48 48
         self.main_light = videv_switching(
49
-            mqtt_client, config.TOPIC_FFE_FLOOR_MAIN_LIGHT_VIDEV,
49
+            mqtt_client, config.TOPIC_FFW_FLOOR_MAIN_LIGHT_VIDEV,
50 50
             self.main_light_shelly, self.main_light_shelly.KEY_OUTPUT_0
51 51
         )
52 52
 
@@ -121,7 +121,7 @@ class first_floor_west_bath(room):
121 121
         #
122 122
         # main light
123 123
         self.main_light = videv_switching(
124
-            mqtt_client, config.TOPIC_FFE_FLOOR_MAIN_LIGHT_VIDEV,
124
+            mqtt_client, config.TOPIC_FFW_BATH_MAIN_LIGHT_VIDEV,
125 125
             self.main_light_shelly, self.main_light_shelly.KEY_OUTPUT_0
126 126
         )
127 127
         # heating function

+ 4
- 1
topics.py Visa fil

@@ -30,11 +30,14 @@ TOPIC_GAR_GARDEN_GARLAND_VIDEV = "videv/gar/garden/garland"
30 30
 TOPIC_GAR_GARDEN_REPEATER_VIDEV = "videv/gar/garden/repeater"
31 31
 
32 32
 # first floor west
33
+# floor
34
+TOPIC_FFW_FLOOR_MAIN_LIGHT_VIDEV = "videv/ffw/floor/main_light"
33 35
 # julian
34 36
 TOPIC_FFW_JULIAN_MAIN_LIGHT_VIDEV = "videv/ffw/julian/main_light"
35 37
 TOPIC_FFW_JULIAN_HEATING_VALVE_VIDEV = "videv/ffw/julian/heating_valve"
36 38
 
37 39
 # bath
40
+TOPIC_FFW_BATH_MAIN_LIGHT_VIDEV = "videv/ffw/bath/main_light"
38 41
 TOPIC_FFW_BATH_HEATING_VALVE_VIDEV = "videv/ffw/bath/heating_valve"
39 42
 
40 43
 # livingroom
@@ -76,6 +79,6 @@ TOPIC_FFE_LIVINGROOM_XMAS_TREE_VIDEV = "videv/ffe/livingroom/xmas_tree"
76 79
 TOPIC_FFE_LIVINGROOM_HEATING_VALVE_VIDEV = "videv/ffe/livingroom/heating_valve"
77 80
 
78 81
 
79
-# first floor east
82
+# stairway
80 83
 # floor
81 84
 TOPIC_STW_STAIRWAY_MAIN_LIGHT_VIDEV = "videv/stw/stairway/main_light"

Laddar…
Avbryt
Spara