We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d098ada commit 8ed88d4Copy full SHA for 8ed88d4
homeassistant/components/reolink/button.py
@@ -133,6 +133,15 @@ class ReolinkHostButtonEntityDescription(
133
supported=lambda api, ch: api.supported(ch, "ptz_guard"),
134
method=lambda api, ch: api.set_ptz_guard(ch, command=GuardEnum.set.value),
135
),
136
+ ReolinkButtonEntityDescription(
137
+ key="reboot",
138
+ always_available=True,
139
+ device_class=ButtonDeviceClass.RESTART,
140
+ entity_category=EntityCategory.CONFIG,
141
+ entity_registry_enabled_default=False,
142
+ supported=lambda api, ch: api.supported(ch, "reboot"),
143
+ method=lambda api, ch: api.reboot(ch),
144
+ ),
145
)
146
147
HOST_BUTTON_ENTITIES = (
0 commit comments