mirror of
https://github.com/andvikt/mega_hacs.git
synced 2025-12-11 17:14:28 +05:00
рефакторинг, конфиг yaml
This commit is contained in:
@@ -12,8 +12,13 @@ W1BUS = 'w1bus'
|
||||
CONF_PORT_TO_SCAN = 'port_to_scan'
|
||||
CONF_RELOAD = 'reload'
|
||||
CONF_INVERT = 'invert'
|
||||
CONF_PORTS = 'ports'
|
||||
CONF_CUSTOM = '__custom'
|
||||
CONF_SKIP = 'skip'
|
||||
PLATFORMS = [
|
||||
"light",
|
||||
"switch",
|
||||
"binary_sensor",
|
||||
"sensor",
|
||||
]
|
||||
]
|
||||
EVENT_BINARY_SENSOR = f'{DOMAIN}.sensor'
|
||||
Reference in New Issue
Block a user