Commit Graph

14 Commits

Author SHA1 Message Date
Joost Lekkerkerker
45d44ac49e Fix Bosch-SHC switch state (#116721) 2024-05-03 23:54:27 +02:00
Joost Lekkerkerker
23ffcaf187 Improve lists in integrations [B] (#113069) 2024-03-11 18:59:57 +01:00
Marc Mueller
ff3a801936 Add empty line after module docstring [a-d] (#112697) 2024-03-08 14:51:32 +01:00
Joost Lekkerkerker
59eac48e33 Remove entity description mixin in Bosch SHC (#112394) 2024-03-05 18:14:41 +01:00
Joost Lekkerkerker
9ada85af36 Add icon translations to Bosch SHC (#111350)
* Add icon translations to Bosch SHC

* Update homeassistant/components/bosch_shc/sensor.py

* Update homeassistant/components/bosch_shc/sensor.py
2024-02-25 14:09:44 +01:00
Erik Montnemery
0c2485bc03 Freeze integration entity descriptions (#105984)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-18 16:28:13 -10:00
Joost Lekkerkerker
a0a06f16a7 Add entity translations to Bosch SHC (#98750) 2023-08-22 09:26:49 +02:00
Thomas Schamm
3cf88ffdde Bump boschshcpy to 0.2.57 (#94686) 2023-06-20 08:40:57 +02:00
Erik Montnemery
cc564026fa Move EntityCategory to homeassistant.const (#87792)
* Move EntityCategory to homeassistant.const

* Fix more imports
2023-02-09 20:15:37 +01:00
Franck Nijhof
5e81d28116 Update black to 23.1.0 (#87188) 2023-02-02 18:35:24 +01:00
Franck Nijhof
a8f1cc0d33 Remove unneeded guards from (async_)add_entities call (#80471) 2022-10-17 21:11:58 +02:00
epenet
dedf063e43 Improve entity type hints [b] (#77012) 2022-08-19 09:54:13 +02:00
Thomas Schamm
13ac6e62e2 Remove bosch_shc switch surplus toggle method (#67851) 2022-03-08 12:53:41 +01:00
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