fix ZHA IASWD commands (#33402)

This commit is contained in:
David F. Mulcahey authored and GitHub committed 2020-03-29 17:42:37 -04:00
1 parent de54659097
commit ef61118d49
2 files changed
+15 -6

No files matched your search

@@ -51,7 +51,7 @@ class IasWd(ZigbeeChannel):
"""Get the specified bit from the value."""
return (value & (1 << bit)) != 0
async def squawk(
async def issue_squawk(
self,
mode=WARNING_DEVICE_SQUAWK_MODE_ARMED,
strobe=WARNING_DEVICE_STROBE_YES,
@@ -76,7 +76,7 @@ class IasWd(ZigbeeChannel):
await self.squawk(value)
async def start_warning(
async def issue_start_warning(
self,
mode=WARNING_DEVICE_MODE_EMERGENCY,
strobe=WARNING_DEVICE_STROBE_YES,