Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Breaking Change] Cleanup Lutron light component (#18650)
Remove the return value from setup_platform Convert LutronLight.__init__ to use super() when referencing the parent class. Change device_state_attributes() to use lowercase snakecase (Rename 'Lutron Integration ID' to 'lutron_integration_id')
- Loading branch information
98f159a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
File "/home/andreas/.hass/lib/python3.7/site-packages/homeassistant-0.84.0.dev0-py3.7.egg/homeassistant/components/light/lutron.py", line 45, in __init__
super().__init__(self, area_name, lutron_device, controller)
TypeError: __init__() takes 4 positional arguments but 5 were given
You need to remove
self
fromsuper().__init__(...)
98f159a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@awrede Please do not use commits to comment on with issues. Use GitHub issue instead. Thanks! 👍