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
         #
46
         #
47
         # main light
47
         # main light
48
         self.main_light = videv_switching(
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
             self.main_light_shelly, self.main_light_shelly.KEY_OUTPUT_0
50
             self.main_light_shelly, self.main_light_shelly.KEY_OUTPUT_0
51
         )
51
         )
52
 
52
 
121
         #
121
         #
122
         # main light
122
         # main light
123
         self.main_light = videv_switching(
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
             self.main_light_shelly, self.main_light_shelly.KEY_OUTPUT_0
125
             self.main_light_shelly, self.main_light_shelly.KEY_OUTPUT_0
126
         )
126
         )
127
         # heating function
127
         # heating function

+ 4
- 1
topics.py Visa fil

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

Laddar…
Avbryt
Spara