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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user