added new videv device for garden
This commit is contained in:
parent
31c00259de
commit
f13cdfdcb7
9
rooms.py
9
rooms.py
@ -77,6 +77,7 @@ The device names in the room classes follow this definition:
|
||||
videv_heating
|
||||
|
||||
videv_multistate
|
||||
videv_mode
|
||||
|
||||
input_device
|
||||
|
||||
@ -105,6 +106,7 @@ from devices import videv_sw_br
|
||||
from devices import videv_sw_br_ct
|
||||
from devices import videv_sw_tm
|
||||
from devices import videv_hea
|
||||
from devices import videv_pure_switch
|
||||
from devices import videv_multistate
|
||||
#
|
||||
#
|
||||
@ -309,12 +311,14 @@ class gar_garden(base_room):
|
||||
loc = props.LOC_GAR
|
||||
roo = props.ROO_GAR
|
||||
#
|
||||
self.switch_main_light = shelly_sw1(mqtt_client, get_topic(props.STG_SHE, loc, roo, props.FUN_MAL))
|
||||
self.videv_main_light = videv_sw(mqtt_client, get_topic(props.STG_VDE, loc, roo, props.FUN_MAL))
|
||||
self.switch_garland_light = shelly_sw1(mqtt_client, get_topic(props.STG_SHE, loc, roo, props.FUN_GAR))
|
||||
self.videv_garland_light = videv_sw(mqtt_client, get_topic(props.STG_VDE, loc, roo, props.FUN_GAR))
|
||||
|
||||
self.videv_repeater = videv_sw(mqtt_client, get_topic(props.STG_VDE, loc, roo, props.FUN_REP))
|
||||
self.switch_repeater = shelly_sw1(mqtt_client, get_topic(props.STG_ZGW, loc, roo, props.FUN_REP))
|
||||
|
||||
self.videv_mode = videv_pure_switch(mqtt_client, get_topic(props.STG_ZGW, loc, roo, props.FUN_MOD))
|
||||
|
||||
|
||||
#
|
||||
# GFW #############################################################################################
|
||||
@ -396,4 +400,3 @@ class stairway(base_room):
|
||||
self.motion_main_light_gf = silvercrest_motion_sensor(mqtt_client, get_topic(props.STG_ZGW, loc, props.ROO_STG, props.FUN_MSE))
|
||||
self.motion_main_light_ff = silvercrest_motion_sensor(mqtt_client, get_topic(props.STG_ZFE, loc, props.ROO_STF, props.FUN_MSE))
|
||||
self.videv_main_light = videv_sw(mqtt_client, get_topic(props.STG_VDE, loc, props.ROO_STF, props.FUN_MAL))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user