1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Portainer bugfix add button platform (#155305)

This commit is contained in:
Erwin Douna
2025-10-27 22:53:10 +01:00
committed by GitHub
parent 76584161a6
commit faa04755e2

View File

@@ -18,7 +18,12 @@ from homeassistant.helpers.aiohttp_client import async_create_clientsession
from .coordinator import PortainerCoordinator
_PLATFORMS: list[Platform] = [Platform.BINARY_SENSOR, Platform.SENSOR, Platform.SWITCH]
_PLATFORMS: list[Platform] = [
Platform.BINARY_SENSOR,
Platform.SENSOR,
Platform.SWITCH,
Platform.BUTTON,
]
type PortainerConfigEntry = ConfigEntry[PortainerCoordinator]