Commit graph

21 commits

Author SHA1 Message Date
Joost Lekkerkerker
c6bdc380b6
Use shorthand attributes in Ondilo ico (#99627) 2023-09-05 15:40:43 +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
Joost Lekkerkerker
e2fdc6a98b
Add entity translations for Ondilo Ico (#95809) 2023-07-22 13:16:07 +02:00
Franck Nijhof
4255cd6bbc
Remove invalid Signal Strength device class from Ondilo (#95109) 2023-06-23 08:26:57 -05:00
Marc Mueller
c4b45fb110
Improve ondilo_ico generic typing (#84738) 2022-12-29 09:35:06 +01:00
epenet
768d147cb2
Add device classes to pool integrations (#84050)
* Add device classes to pool integrations

* Update omnilogic

* Don't use VOLTAGE device class
2022-12-17 10:06:39 +01:00
Aarni Koskela
44e4b8c676
Omit native_unit_of_measurement=None (#81844) 2022-11-09 10:48:37 +01:00
epenet
9184eb8916
Add sensor setup type hints [o-q] (#63313)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 19:10:57 +01:00
Robert Hillis
b28c821bc3
Use enums in ondilo_ico (#62081) 2021-12-16 17:04:47 +01:00
Alexander Leisentritt
4eeee79517
Change ondilo_ico update interval to 5 minutes (#61153)
API has a rate limit of 30 queries per hours, 5 minutes uses 12 queries and leave a reasonable reserve but ensures timestamps of measurements in Home Assistant are about equal to real timestamps
2021-12-07 13:01:34 +01:00
TheNogl
0f965c6b31
Add long-term statistics for Ondilo ICO (#58290) 2021-10-24 11:52:25 +02:00
Robert Hillis
2df13d0118
Use DeviceInfo Class N-O (#58314) 2021-10-24 11:34:45 +02:00
Erik Montnemery
103e21c278
Move temperature conversions to sensor base class (5/8) (#54475) 2021-08-12 13:26:17 +02:00
Marc Mueller
511af66b22
Fix ondilo_ico name attribute (#54290) 2021-08-09 20:53:30 +02:00
Marc Mueller
ac837cd76e
Use EntityDescription - ondilo_ico (#53579) 2021-07-27 22:51:32 +02:00
Marc Mueller
551c117717
Use NamedTuple - ondilo_ico (#53296) 2021-07-21 22:27:31 -07:00
Marc Mueller
c578541a82
Add new electrical unit constants (mV + mA) (#53158) 2021-07-20 15:57:11 +02:00
Maciej Bieniek
f212049fc2
Add constructor return type in integrations O-S (#50896) 2021-05-20 15:58:17 +02:00
Erik Montnemery
c900e3030b
Migrate integrations n-q to extend SensorEntity (#48214) 2021-03-22 19:46:46 +01:00
JeromeHXP
1a65ab0b80
Address late review of ondilo_ico (#44837)
* Updates following comments in PR 44728

* Make all api calls in same thread context

* Set API as parameter to get_all_pools_data

* extract pools data retrieval function to api class
2021-01-06 12:36:39 +01:00
JeromeHXP
de780c6d35
Add Ondilo ico integration (#44728)
* First implementationof Ondilo component support

* Update manifest toadd pypi pkg dependency

* Update entities name and corrected refresh issue

* Changed percentage unit name

* Corrected merge issues

* Updated coveragerc

* cleaned up code and corrected config flow tests

* Code cleanup and added test for exisitng entry

* Changes following PR comments:
- Inherit CoordinatorEntity instead of Entity
- Merged pools blocking calls into one
- Renamed devices vars to sensors
- Check supported sensor types
- Stop relying on array index position for pools
- Stop relying on attribute position in dict for sensors

* Corrected unit test

* Reformat sensor type check
2021-01-04 08:09:01 -08:00