Thomas Schamm
|
0b7b1baf30
|
Add switch platform to bosch_shc integration (#62315)
* Add support for switch platform.
* Add untested files to .coveragerc.
* Differ between Light Switch and Smart Plug.
Bumped to boschshcpy==0.2.27
* Removed duplicated code.
Fixed suggestions from code review.
* Fixed pylint errors
* Fix pylint issue.
* Add property statement
* Fixed wrong attribute access
* Apply suggestions from code review
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Move switch function to base class.
Changes from code review.
* Apply suggestions from code review
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Merged camera switch into SHCSwitch class
* Type hint
* Removed deprecated sensor entities in switch device.
Added routing switch entity.
* Apply suggestions from code review
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Icon and EntityCategory as class attributes
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
|
2022-03-08 10:35:29 +01:00 |