Pārlūkot izejas kodu

default temperature moved from topics to config

tags/v1.3.0
Dirk Alders 1 gadu atpakaļ
vecāks
revīzija
7ea356bd84
2 mainītis faili ar 8 papildinājumiem un 8 dzēšanām
  1. 8
    0
      config_example/config.py
  2. 0
    8
      topics.py

+ 8
- 0
config_example/config.py Parādīt failu

@@ -19,3 +19,11 @@ CHRISTMAS = True
19 19
 # PARAMETERS
20 20
 #
21 21
 USER_ON_TIME_STAIRWAYS = 100
22
+
23
+DEFAULT_TEMPERATURE = {
24
+    TOPIC_FFE_SLEEP_HEATING_VALVE_ZIGBEE: 21.5,
25
+    TOPIC_GFW_DIRK_HEATING_VALVE_ZIGBEE: 25,
26
+    TOPIC_GFW_MARION_HEATING_VALVE_ZIGBEE: 22,
27
+    TOPIC_FFW_BATH_HEATING_VALVE_ZIGBEE: 23
28
+}
29
+

+ 0
- 8
topics.py Parādīt failu

@@ -105,11 +105,3 @@ TOPIC_STW_STAIRWAY_MAIN_LIGHT_SHELLY = "shellies/stw/stairway/main_light"
105 105
 TOPIC_STW_STAIRWAY_MAIN_LIGHT_VIDEV = "videv/stw/stairway/main_light"
106 106
 TOPIC_STW_STAIRWAY_MAIN_LIGHT_MOTION_SENSOR_FF = "zigbee/ffe/stairway/motion_sensor_ff"
107 107
 TOPIC_STW_STAIRWAY_MAIN_LIGHT_MOTION_SENSOR_GF = "zigbee/gfw/stairway/motion_sensor_gf"
108
-
109
-
110
-DEFAULT_TEMPERATURE = {
111
-    TOPIC_FFE_SLEEP_HEATING_VALVE_ZIGBEE: 21.5,
112
-    TOPIC_GFW_DIRK_HEATING_VALVE_ZIGBEE: 25,
113
-    TOPIC_GFW_MARION_HEATING_VALVE_ZIGBEE: 23,
114
-    TOPIC_FFW_BATH_HEATING_VALVE_ZIGBEE: 23
115
-}

Notiek ielāde…
Atcelt
Saglabāt