This commit is contained in:
Andre Basche 2023-07-01 14:24:04 +02:00
parent 269a521435
commit 3ed335d356
7 changed files with 99 additions and 14 deletions

View file

@ -11,12 +11,13 @@ if __name__ == "__main__":
from custom_components.hon.const import APPLIANCES
from custom_components.hon.binary_sensor import BINARY_SENSORS
from custom_components.hon.button import BUTTONS
from custom_components.hon.light import LIGHTS
from custom_components.hon.climate import CLIMATES
from custom_components.hon.fan import FANS
from custom_components.hon.light import LIGHTS
from custom_components.hon.lock import LOCKS
from custom_components.hon.number import NUMBERS
from custom_components.hon.select import SELECTS
from custom_components.hon.sensor import SENSORS
from custom_components.hon.fan import FANS
from custom_components.hon.switch import (
SWITCHES,
HonControlSwitchEntityDescription,
@ -28,12 +29,13 @@ ENTITY_CATEGORY_SORT = ["control", "config", "sensor"]
entities = {
"binary_sensor": BINARY_SENSORS,
"button": BUTTONS,
"light": LIGHTS,
"climate": CLIMATES,
"fan": FANS,
"light": LIGHTS,
"lock": LOCKS,
"number": NUMBERS,
"select": SELECTS,
"sensor": SENSORS,
"fan": FANS,
"switch": SWITCHES,
}