Add typing to Lutron platforms (#107408)
* Add typing to Lutron platforms * Update homeassistant/components/lutron/switch.py Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> * Update homeassistant/components/lutron/__init__.py Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> * Update homeassistant/components/lutron/entity.py Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> * Update homeassistant/components/lutron/scene.py Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> * Fix typing * Fix typing --------- Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
This commit is contained in:
parent
3139e92696
commit
15ce70606f
7 changed files with 64 additions and 24 deletions
|
@ -49,6 +49,7 @@ class LutronOccupancySensor(LutronDevice, BinarySensorEntity):
|
|||
reported as a single occupancy group.
|
||||
"""
|
||||
|
||||
_lutron_device: OccupancyGroup
|
||||
_attr_device_class = BinarySensorDeviceClass.OCCUPANCY
|
||||
|
||||
@property
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue