We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99fd75b commit 26b9ba1Copy full SHA for 26b9ba1
custom_components/hass_nuki_bt/button.py
@@ -51,6 +51,13 @@ class NukiButtonEntityDescription(ButtonEntityDescription):
51
device_class=ButtonDeviceClass.UPDATE,
52
action_function=lambda slf: slf.coordinator._async_update(),
53
),
54
+ NukiButtonEntityDescription(
55
+ key="sync_time",
56
+ name="Sync Nuki time",
57
+ icon="mdi:timer-sync",
58
+ action_function=lambda slf: slf.device.update_nuki_time(slf.coordinator._security_pin),
59
+ entity_registry_enabled_default=False,
60
+ ),
61
)
62
63
0 commit comments