Marc Mueller
b6572d1cab
Fix type issues [geniushub] ( #67095 )
2022-02-23 09:55:26 +01:00
epenet
f3af0781f8
Add setup type hints [f-g] ( #63599 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-07 16:48:54 +01:00
epenet
3cfc349e99
Use new DeviceClass enum in geniushub ( #61608 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-13 17:39:38 +01:00
Erik Montnemery
6de6a5dc14
Move temperature conversions to sensor base class (3/8) ( #54469 )
...
* Move temperature conversions to entity base class (3/8)
* Fix FritzBox sensor
* Fix tests
2021-08-12 14:23:56 +02:00
jan iversen
d168749a51
Integrations: HomeAssistantType --> HomeAssistant. Last batch. ( #49591 )
2021-04-23 10:34:02 +02:00
Erik Montnemery
339a56e434
Migrate integrations f-h to extend SensorEntity ( #48212 )
2021-03-22 19:45:17 +01:00
Marc Mueller
9e1a6610dc
Update typing 07 ( #48057 )
2021-03-18 08:02:55 +01:00
Erik Montnemery
af4d06b12e
Update integrations f-i to override extra_state_attributes() ( #47757 )
2021-03-11 16:57:47 +01:00
springstan
d2b1918e9c
Drop UNIT_ prefix for percentage constant ( #39383 )
2020-09-05 21:09:14 +02:00
springstan
f1a0ca7cd3
Add and use percentage constant ( #32094 )
...
* Add and use percentage constant
* Fix pylint error and broken test
2020-02-28 11:46:48 -08:00
David Bonnes
efae9a24d5
remove duplicate unique_id, add unique_id for issues ( #27916 )
2019-10-19 12:27:15 -07:00
David Bonnes
c78b3a4439
Tweak geniushub and bump client to v0.6.26 ( #26640 )
...
* use state attribute rather than type
* HA style tweaks
* small tweak
* bump client
* add more device_state_attributes
* bump client
* small tweak
* bump client for concurrent IO
* force snake_case, and refactor (consolidate) Devices/Zones
* force snake_case, and refactor (consolidate) Devices/Zones 2
* force snake_case, and refactor (consolidate) Devices/Zones 3
* refactor last_comms / wakeup_interval check
* movement sensor is dynamic, and tweaking
* tweak
* bump client to v0.6.20
* dummy
* dummy 2
* bump client to handle another edge case
* use entity_id fro zones
* small tweak
* bump client to 0.6.22
* add recursive snake_case converter
* fix regression
* fix regression 2
* fix regression 3
* remove Awaitables
* don't dynamically create function every scan_interval
* log kast_comms as localtime, delint dt_util
* add sensors fro v1 API
* tweak entity_id
* bump client
* bump client to v0.6.24
* bump client to v0.6.25
* explicit device attrs, dt as UTC
* add unique_id, remove entity_id
* Bump client to 0.6.26 - add Hub UID
* remove convert_dict()
* add mac_address (uid) for v1 API
* tweak var names
* add UID.upper() to avoid unwanted unique_id changes
* Update homeassistant/components/geniushub/__init__.py
Co-Authored-By: Martin Hjelmare <marhje52@kth.se>
* Update homeassistant/components/geniushub/__init__.py
Co-Authored-By: Martin Hjelmare <marhje52@kth.se>
* remove underscores
* refactor for broker
* ready now
* validate UID (MAC address)
* move uid to broker
* use existing constant
* pass client to broker
2019-10-02 17:27:13 +01:00
David Bonnes
d5c61be651
Initial commit ( #26385 )
2019-09-03 23:15:40 -07:00
Franck Nijhof
fa79ef1220
Use literal string interpolation in integrations E-G (f-strings) ( #26379 )
2019-09-03 17:10:56 +02:00
David Bonnes
33c35a6c3c
Bump geniushub client ( #26084 )
...
* bump geniushub client
* delint
* remove unsused lint hints
2019-08-20 10:43:39 -07:00
David Bonnes
b0c79c271d
Bump geniushub client, handle dead devices, handle raise_for_status ( #25687 )
...
* Initial commit
* tweak error logging
* bump client
* correct regression
* small coding tweak
* debug logging to one entry
* refactor for self.data['attr']
* bump client
* small tidy-up
2019-08-05 00:06:36 +02:00
Paulus Schoutsen
0ccffc3e55
Lint
2019-07-31 12:46:17 -07:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
David Bonnes
16a98359c3
Fix bug and bump geniushub client ( #25599 )
...
Fix bug, delint and bump client
2019-07-31 18:44:09 +01:00
David Bonnes
846575b7fb
Tweak geniushub battery icons according to device state ( #24798 )
...
* tweak battery icons according to device state/availability
* tweak battery icons according to device state/availability 2
* make dt objects aware
* make dt objects aware 2
* woops - use util.dt in favour of datetime
* woops - use util.dt in favour of datetime 2
* refactor battery icon code, remove parallel_updates
2019-07-01 10:19:14 -07:00
David Bonnes
96b7bb625d
geniushub: fix sensor battery level, and bump client ( #24123 )
...
* Initial commit
* bump client
2019-05-26 14:01:29 +02:00
David Bonnes
fbd7c72283
Add geniushub sensors for issues ( #23976 )
...
* Inital commit
* delint - use new string formatting
2019-05-21 08:23:38 -04:00
David Bonnes
18149dcb8c
Add geniushub sensor and binary_sensor ( #23811 )
...
* Initial commit
* add lastComms and de-lint
* dummy commit
* dummy commit 2
* refactor to temp in favour of battery
* back to battery, and no temp
* use snake_case
* Bump client
* only v3 API exposes device attributes
* delint
* delint2
* Change GeniusSwitch to GensiusBinarySensor
2019-05-14 23:30:26 +02:00