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