Fix missing brightness for Velbus entities (#62314)
* Fix #62169: missing brightness for Velbus-entities * Use default implementation of supported_features Co-authored-by: Thijs Walcarius <thijs.walcarius@ugent.be>
This commit is contained in:
parent
2bfcc5777d
commit
f9e38cd08b
1 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,7 @@ class VelbusLight(VelbusEntity, LightEntity):
|
|||
"""Representation of a Velbus light."""
|
||||
|
||||
_channel: VelbusDimmer
|
||||
_attr_supported_feature = SUPPORT_BRIGHTNESS | SUPPORT_TRANSITION
|
||||
_attr_supported_features = SUPPORT_BRIGHTNESS | SUPPORT_TRANSITION
|
||||
|
||||
@property
|
||||
def is_on(self) -> bool:
|
||||
|
@ -96,7 +96,7 @@ class VelbusButtonLight(VelbusEntity, LightEntity):
|
|||
|
||||
_channel: VelbusButton
|
||||
_attr_entity_registry_enabled_default = False
|
||||
_attr_supported_feature = SUPPORT_FLASH
|
||||
_attr_supported_features = SUPPORT_FLASH
|
||||
|
||||
def __init__(self, channel: VelbusChannel) -> None:
|
||||
"""Initialize the button light (led)."""
|
||||
|
|
Loading…
Add table
Reference in a new issue