Additional fixes for siren platform (#52971)

This commit is contained in:
Raman Gupta
2021-07-13 10:56:41 -07:00
committed by GitHub
parent 777fec62a5
commit 026ca4e4e4
2 changed files with 6 additions and 8 deletions
+3 -4
View File
@@ -9,10 +9,9 @@ class MockSirenEntity(SirenEntity):
_attr_is_on = True
@property
def supported_features(self) -> int:
"""Return the list of supported features."""
return 0
def __init__(self, supported_features: int = 0) -> None:
"""Initialize mock siren entity."""
self._attr_supported_features = supported_features
async def test_sync_turn_on(hass):