Skip to content

Commit faa0475

Browse files
authored
Portainer bugfix add button platform (#155305)
1 parent 7658416 commit faa0475

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

homeassistant/components/portainer/__init__.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,12 @@
1818

1919
from .coordinator import PortainerCoordinator
2020

21-
_PLATFORMS: list[Platform] = [Platform.BINARY_SENSOR, Platform.SENSOR, Platform.SWITCH]
21+
_PLATFORMS: list[Platform] = [
22+
Platform.BINARY_SENSOR,
23+
Platform.SENSOR,
24+
Platform.SWITCH,
25+
Platform.BUTTON,
26+
]
2227

2328

2429
type PortainerConfigEntry = ConfigEntry[PortainerCoordinator]

0 commit comments

Comments
 (0)