Browse Source

devdi update integration

tags/v1.3.0
Dirk Alders 1 year ago
parent
commit
7462d7278e

+ 1
- 1
function/first_floor_east.py View File

@@ -3,7 +3,7 @@
3 3
 #
4 4
 
5 5
 import config
6
-import devdi.props as props
6
+from devdi import topic as props
7 7
 from devices import group
8 8
 from function.db import get_radiator_data, set_radiator_data
9 9
 from function.helpers import day_event

+ 1
- 1
function/first_floor_west.py View File

@@ -3,7 +3,7 @@
3 3
 #
4 4
 
5 5
 import config
6
-import devdi.props as props
6
+from devdi import topic as props
7 7
 from function.db import get_radiator_data, set_radiator_data
8 8
 from function.modules import heating_function
9 9
 from function.rooms import room, room_collection

+ 1
- 1
function/garden.py View File

@@ -3,7 +3,7 @@
3 3
 #
4 4
 
5 5
 import config
6
-import devdi.props as props
6
+import devdi.topic as props
7 7
 from devices import group
8 8
 from function.db import get_radiator_data, set_radiator_data
9 9
 from function.helpers import day_event

+ 1
- 1
function/ground_floor_west.py View File

@@ -3,7 +3,7 @@
3 3
 #
4 4
 
5 5
 import config
6
-from devdi import props
6
+from devdi import topic as props
7 7
 from devices import group
8 8
 from function.db import get_radiator_data, set_radiator_data
9 9
 from function.modules import brightness_choose_n_action, heating_function, switched_light

+ 1
- 1
function/stairway.py View File

@@ -3,7 +3,7 @@
3 3
 #
4 4
 
5 5
 import config
6
-from devdi import props
6
+from devdi import topic as props
7 7
 import logging
8 8
 from function.modules import motion_sensor_light
9 9
 from function.rooms import room, room_collection

+ 3
- 3
smart_brain.py View File

@@ -1,5 +1,5 @@
1 1
 import config
2
-import devdi
2
+import devdi.devices
3 3
 import function
4 4
 import json
5 5
 import logging
@@ -58,12 +58,12 @@ if __name__ == "__main__":
58 58
     #
59 59
     # Smarthome physical Devices
60 60
     #
61
-    pd = devdi.physical_devices(mc)
61
+    pd = devdi.devices.physical_devices(mc)
62 62
 
63 63
     #
64 64
     # Smarthome physical Devices
65 65
     #
66
-    vd = devdi.videv_devices(mc)
66
+    vd = devdi.devices.videv_devices(mc)
67 67
 
68 68
     #
69 69
     # Smart Home Functionality

Loading…
Cancel
Save