Set Lutron switch to device name (#111293)

This commit is contained in:
Joost Lekkerkerker 2024-02-24 20:18:06 +01:00 committed by GitHub
parent 597118d584
commit 47b7dd4a01
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -43,6 +43,7 @@ class LutronSwitch(LutronDevice, SwitchEntity):
"""Representation of a Lutron Switch.""" """Representation of a Lutron Switch."""
_lutron_device: Output _lutron_device: Output
_attr_name = None
def turn_on(self, **kwargs: Any) -> None: def turn_on(self, **kwargs: Any) -> None:
"""Turn the switch on.""" """Turn the switch on."""