Fix zwave_js siren name (#103016)

* Fix zwave_js.siren name

* Fix test
This commit is contained in:
Raman Gupta 2023-10-29 12:44:15 -04:00 committed by GitHub
parent 59f238b9a7
commit 94e192db12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 2 deletions

View file

@ -72,6 +72,8 @@ class ZwaveSirenEntity(ZWaveBaseEntity, SirenEntity):
if self._attr_available_tones:
self._attr_supported_features |= SirenEntityFeature.TONES
self._attr_name = self.generate_name(include_value_name=True)
@property
def is_on(self) -> bool | None:
"""Return whether device is on."""