separated sensors and binary_sensors

This commit is contained in:
Patrick762 committed 2023-07-31 19:24:56 +02:00
1 parent 7af1fb02c6
commit a71f419676
3 files changed
+145 -19

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ from homeassistant.exceptions import ConfigEntryNotReady
from .const import DOMAIN, MANUFACTURER
from .coordinator import PollingCoordinator
PLATFORMS: [Platform] = [Platform.SENSOR]
PLATFORMS: [Platform] = [Platform.BINARY_SENSOR, Platform.SENSOR]
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: