Redid integration remove to unload platform

This commit is contained in:
Tomaae 2022-01-24 12:47:19 +01:00
parent 3b95198ad8
commit a918a039ab
2 changed files with 16 additions and 7 deletions

View file

@ -1,5 +1,13 @@
"""Constants used by the Mikrotik Router component and platforms."""
from homeassistant.const import Platform
PLATFORMS = [
Platform.SENSOR,
Platform.BINARY_SENSOR,
Platform.DEVICE_TRACKER,
Platform.SWITCH,
Platform.BUTTON,
]
DOMAIN = "mikrotik_router"
DEFAULT_NAME = "Mikrotik Router"
DATA_CLIENT = "client"