Added some devices for ffe
This commit is contained in:
parent
4fa00811c6
commit
31c00259de
8
rooms.py
8
rooms.py
@ -76,6 +76,8 @@ The device names in the room classes follow this definition:
|
|||||||
ambient_info
|
ambient_info
|
||||||
videv_heating
|
videv_heating
|
||||||
|
|
||||||
|
videv_multistate
|
||||||
|
|
||||||
input_device
|
input_device
|
||||||
|
|
||||||
|
|
||||||
@ -101,7 +103,9 @@ from devices import my_ambient
|
|||||||
from devices import videv_sw
|
from devices import videv_sw
|
||||||
from devices import videv_sw_br
|
from devices import videv_sw_br
|
||||||
from devices import videv_sw_br_ct
|
from devices import videv_sw_br_ct
|
||||||
|
from devices import videv_sw_tm
|
||||||
from devices import videv_hea
|
from devices import videv_hea
|
||||||
|
from devices import videv_multistate
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
try:
|
try:
|
||||||
@ -167,7 +171,7 @@ class ffe_kitchen(base_room):
|
|||||||
|
|
||||||
# http://shelly1-e89f6d85a466
|
# http://shelly1-e89f6d85a466
|
||||||
self.switch_circulation_pump = shelly_sw1(mqtt_client, get_topic(props.STG_SHE, loc, roo, props.FUN_CIR))
|
self.switch_circulation_pump = shelly_sw1(mqtt_client, get_topic(props.STG_SHE, loc, roo, props.FUN_CIR))
|
||||||
self.videv_circulation_pump = videv_sw(mqtt_client, get_topic(props.STG_VDE, loc, roo, props.FUN_CIR))
|
self.videv_circulation_pump = videv_sw_tm(mqtt_client, get_topic(props.STG_VDE, loc, roo, props.FUN_CIR))
|
||||||
|
|
||||||
self.valve_heating = brennenstuhl_heatingvalve(mqtt_client, get_topic(props.STG_ZFE, loc, roo, props.FUN_HEA))
|
self.valve_heating = brennenstuhl_heatingvalve(mqtt_client, get_topic(props.STG_ZFE, loc, roo, props.FUN_HEA))
|
||||||
self.videv_heating = videv_hea(mqtt_client, get_topic(props.STG_VDE, loc, roo, props.FUN_HEA))
|
self.videv_heating = videv_hea(mqtt_client, get_topic(props.STG_VDE, loc, roo, props.FUN_HEA))
|
||||||
@ -223,6 +227,8 @@ class ffe_sleep(base_room):
|
|||||||
self.valve_heating = brennenstuhl_heatingvalve(mqtt_client, get_topic(props.STG_ZFE, loc, roo, props.FUN_HEA))
|
self.valve_heating = brennenstuhl_heatingvalve(mqtt_client, get_topic(props.STG_ZFE, loc, roo, props.FUN_HEA))
|
||||||
self.videv_heating = videv_hea(mqtt_client, get_topic(props.STG_VDE, loc, roo, props.FUN_HEA))
|
self.videv_heating = videv_hea(mqtt_client, get_topic(props.STG_VDE, loc, roo, props.FUN_HEA))
|
||||||
|
|
||||||
|
self.videv_multistate = videv_multistate(mqtt_client, get_topic(props.STG_VDE, loc, roo, props.FUN_VMS))
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# FFW #############################################################################################
|
# FFW #############################################################################################
|
||||||
|
3
topic.py
3
topic.py
@ -153,6 +153,8 @@ FUN_BTP = 26
|
|||||||
""" Bluetooth """
|
""" Bluetooth """
|
||||||
FUN_PHO = 27
|
FUN_PHO = 27
|
||||||
""" Phono """
|
""" Phono """
|
||||||
|
FUN_VMS = 28
|
||||||
|
""" Virtual Multi State"""
|
||||||
|
|
||||||
|
|
||||||
STG_TOPIC = {
|
STG_TOPIC = {
|
||||||
@ -216,6 +218,7 @@ FUN_TOPIC = {
|
|||||||
FUN_CDP: 'cd_player',
|
FUN_CDP: 'cd_player',
|
||||||
FUN_BTP: 'bt',
|
FUN_BTP: 'bt',
|
||||||
FUN_PHO: 'phono',
|
FUN_PHO: 'phono',
|
||||||
|
FUN_VMS: 'active_brightness_device',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user