Commit graph

17 commits

Author SHA1 Message Date
J. Diego Rodríguez Royo
668626b920
Add ServiceValidationError to Home Connect (#129309)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-10-28 16:48:56 +01:00
J. Diego Rodríguez Royo
a77cb1e579
Home connect light generalization and RGB support (#126144) 2024-10-25 15:08:50 +02:00
J. Diego Rodríguez Royo
6a12a24d73
Migrate device models to entity descriptions and add localization & icons at Home Connect (#127870)
* Delete device models and use entity descriptions

* Home Connect localization & icons

* Update homeassistant/components/home_connect/strings.json

* Update homeassistant/components/home_connect/icons.json

* Fix tests

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-10-11 17:52:06 +02:00
J. Diego Rodríguez Royo
0d795aad16
Use BSH keys as unique ID's suffix at Home Connect (#126143)
* Use BSH keys as as unique id suffix instead of the simple description

* Update tests/components/home_connect/test_init.py

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-10-06 12:40:13 +02:00
J. Diego Rodríguez Royo
b7ba789370
Code quality improvements at Home Connect (#126323)
Added types to all arguments and return values to all functions

Defined class members and its types outside the constructor

Improved logic at binary sensor
2024-09-23 13:33:19 +02:00
Robert Contreras
4d04402ad4
Add Home Connect light entity for cooling appliances (#126090)
* Add Home Connect light entities for fridge

* Update homeassistant/components/home_connect/light.py

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-09-17 15:56:20 +02:00
Marc Mueller
2c06d4fcb9
Add empty line after module docstring (2) [components] (#112736) 2024-03-08 19:15:59 +01:00
Joost Lekkerkerker
13ebb68b84
Use shorthand attributes in Home connect (#99385)
Co-authored-by: Robert Resch <robert@resch.dev>
2023-09-04 09:15:25 +02:00
epenet
152022aef3
Improve type hints in home_connect (#77587) 2022-08-31 22:16:21 +02:00
epenet
a1374963d1
Improve entity type hints [h] (#77468) 2022-08-30 20:55:01 +02:00
epenet
994905d1ea
Use ColorMode enum in home_connect (#70502) 2022-04-23 09:14:49 -10:00
Erik Montnemery
3416e9b621
Migrate home_connect light to color_mode (#69260) 2022-04-04 18:20:20 +02:00
epenet
7f9b7c7b0e
Add light setup type hints [a-i] (#63291)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 15:02:21 +01:00
badguy99
971e27dd80
Home connect use consts (#46659)
* Use more consts

* black

* re-black with black, version 20.8b1
2021-02-17 09:44:37 +01:00
Josias Montag
fb2db34334
Fix home connect lights setting color (#45470) 2021-01-27 11:02:32 +01:00
Sjack-Sch
7ce897f373
Fix Home Connect ambient color (#45038) 2021-01-15 19:40:29 +01:00
Sjack-Sch
00c0e9b8da
Home connect functional and ambient light added (#44091)
* Update nl.json

* added period to end of every logging entry.

* Functional and ambient light added

* Change to dict.get method

* Update light.py

* Update __init__.py

Platforms sorted 🔡.

* Update api.py

- Removed all none light platform related changes.
- Period removed from loggin.
- Storing entities removed.
- Not needed formating change reverted.
-

* Update const.py

All words seperated with underscore.

* Update nl.json

Reverted change on translation file.

* Update light.py

-All words of constants seperated with underscore.
- f-string used iso concatenation.
- Added "ambient"to loggin text.
- Removed self._state = false when color setting did not succeed.
- Logging starts with a capital.

* Update api.py

- Removed ending perio in logging
- Reverted formating
- Removed self.device.entities.append(self)
-

* Update entity.py

- Removed self.device.entities.append(self)

* Update api.py

- Adding newline at end of file
- Added whitespave after ","

* Update api.py

Newline at end of file

* Update const.py

Removed unused.

* Update light.py

- seperated words with whitespaces
- improved debug text

* Update light.py

remove state setting after an error
2020-12-19 23:40:44 +01:00