Commit graph

14 commits

Author SHA1 Message Date
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
1f648feaef
Use shorthand attributes in Kostal Plenticore (#99581) 2023-09-05 15:26:23 +02:00
Erik Montnemery
045c327928
Move DeviceInfo from entity to device registry (#98149)
* Move DeviceInfo from entity to device registry

* Update integrations
2023-08-10 22:04:26 -04:00
epenet
8ab8b7152a
Fix lingering timer in kostal_plenticore (#92473) 2023-05-04 11:27:17 +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
epenet
e58dd6df95
Cleanup Plenticore switch entity (#78878) 2022-09-21 13:46:43 +02:00
epenet
9e31cf51cb
Adjust Plenticore switch initialisation (#78871) 2022-09-21 11:54:14 +02:00
epenet
67f7c17d34
Use SwitchEntityDescription in kostal plenticore (#78841) 2022-09-21 11:30:17 +02:00
epenet
3cf26c4a5d
Move constants in kostal_plenticore (#78837) 2022-09-20 20:28:27 +02:00
epenet
448f4ee755
Improve entity type hints [j-k] (#77594) 2022-08-31 22:10:18 +02:00
epenet
d504a4dbda
Add setup type hints [k-m] (#63605)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-07 16:27:49 +01:00
stegm
0a0ca233c5
Add entity categories. (#63165) 2022-01-01 12:45:24 +01:00
Ullrich Neiss
40104de0bf
Address late review of kostal plenticore (#59998) 2021-11-20 11:16:53 +01:00
Ullrich Neiss
3dc0b9537c
Move Kostal Plenticore writable settings from sensor to select widget or switch (#56529)
* Move "Battery:SmartBatteryControl:Enable" from a simple sensor to a switch
Add "Battery:TimeControl:Enable" as a switch

If you want to change charging behavior you need to turn off both switches, before you can enable the function you want. (Same as on Plenticore UI)

* removed:
    @property
    def assumed_state(self) -> bool

was copied from an switchbot integration, does not make sense or does deliver valuable information

Tried to set constant properties in the constructor

* correct typo, add new line at eof

* Initial state of switch was missing after (re)starting HA. Now working.

* Reformatted with black

* correct syntax errors from test run 09.10.2021

* reformat

* update 15.10.2021

* Set select value is working

* update 05.11.2021

* data correctly received

* working completly

* remove old switch definitions, now replaced by select widget

* correct complaints from workflow run on 11/11/2021

* Add explanatory comment for switch and select

* Correct comments

* Removed function async def async_read_data(self, module_id: str, data_id: str)
from class SettingDataUpdateCoordinator

* Add Mixin class for read/write

* try to make select.py less "stale"

* new dev environment 2

* new dev environment 2

* correct syntax

* minor coding standard correction

* Remove BOM

* Remove BOM on select.py

* Updated .coveragerc
2021-11-18 16:06:32 +01:00