1
0
mirror of https://github.com/home-assistant/core.git synced 2026-06-07 07:56:49 +01:00

Z-Wave.me: Allow updating entities (#167839)

This commit is contained in:
Tomeamis
2026-05-11 14:49:40 +02:00
committed by GitHub
parent 14a8ef6e48
commit e2805e4489
@@ -72,3 +72,7 @@ class ZWaveMeEntity(Entity):
def delete_entity(self) -> None:
"""Remove this entity."""
self.hass.async_create_task(self.async_remove(force_remove=True))
def update(self) -> None:
"""Get data from the device."""
self.controller.zwave_api.send_command(self.device.id, "update")