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
 #
3
 #
4
 
4
 
5
 import config
5
 import config
6
-import devdi.props as props
6
+from devdi import topic as props
7
 from devices import group
7
 from devices import group
8
 from function.db import get_radiator_data, set_radiator_data
8
 from function.db import get_radiator_data, set_radiator_data
9
 from function.helpers import day_event
9
 from function.helpers import day_event

+ 1
- 1
function/first_floor_west.py View File

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

+ 1
- 1
function/garden.py View File

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

+ 1
- 1
function/ground_floor_west.py View File

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

+ 1
- 1
function/stairway.py View File

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

+ 3
- 3
smart_brain.py View File

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

Loading…
Cancel
Save