Marc Mueller
f6b162bc39
Add pylint CodeStyle extension ( #53147 )
2021-07-19 06:57:06 -07:00
jan iversen
d168749a51
Integrations: HomeAssistantType --> HomeAssistant. Last batch. ( #49591 )
2021-04-23 10:34:02 +02: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
Ville Skyttä
dc880118a4
Lint suppression cleanups ( #47248 )
...
* Unused pylint suppression cleanups
* Remove outdated pylint bug references
* Add flake8-noqa config and note to run it every now and then
* Add codes to noqa's
* Unused noqa cleanups
2021-03-02 09:02:04 +01:00
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 ( #39287 )
2020-08-27 13:56:20 +02:00
RogerSelwyn
d79067db7e
Standardise geniusheub error levels ( #37512 )
2020-07-05 13:11:07 -05:00
RogerSelwyn
9137957cf9
Fix geniushub spamming log with exceptions ( #37067 )
2020-06-24 23:20:00 -07:00
Paulus Schoutsen
4ebbabcdd1
Unsub dispatcher when removing entity from hass ( #33510 )
...
* Unsub dispatcher when removing entity from hass
* Update homeassistant/components/plaato/sensor.py
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/volvooncall/__init__.py
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-04-02 09:25:33 -07:00
David Bonnes
bfa8cb760f
Add services to geniushub ( #30918 )
...
adds:
- `set_zone_override`, and
- `set_zone_mode`
2020-01-18 12:14:50 +00:00
Jess
5b85456759
Add switches (on/off zones) to geniushub ( #28182 )
...
* New switch platform for geniushub
* Update to new geniushub-client with support for on/off zones
2019-11-04 13:32:33 +00:00
David Bonnes
5d94c82175
isort the geniushub code ( #27978 )
2019-10-20 20:17:27 +01: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
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
97a13bdcd4
Improve geniushub logging and bump client ( #25359 )
...
* add debug logging
* bump geniushub client library
* delint
* bump again
* bump again, again
2019-07-21 10:07:03 -07: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
David Bonnes
4347a0f6b7
Centralize geniushub updates ( #23764 )
...
* add hub/parent/manager
* add hub/parent/manager 2
* working now
* delint
* add back water heater
* make water_heater a child
* make water_heater a child - delint
* make water_heater a child - delint 2
* improve turn_on logic, and small tidy-up
* improve turn_on logic 2
* improve turn_on logic 3 - better docstring
* improve turn_on logic 3 - better docstring
* remove unnecessary DICT.get()s
* remove unnecessary DICT.get()s 2
* code tidy-up
* de-lint
* refactor for GeniusData
* refactor for GeniusData 2
* code tidy-up
* add missing should_poll = False
2019-05-10 18:34:28 +02:00
David Bonnes
6611d585e6
Add water_heater to geniushub, bump client library ( #23384 )
...
* add water_heater
* add geniushub/water_heater.py
* de-lint
* de-lint 2
* remove temperature from device state attribs
* update to latest client library
* add me as CODEOWNER
* bump client
* bump client
* delint/refactor
* Update homeassistant/components/geniushub/water_heater.py
Co-Authored-By: zxdavb <david@bonnes.me>
2019-05-07 17:37:47 +02:00
David Bonnes
11fb4866a8
Improve configuration schema for Geniushub integration ( #23155 )
...
* configuration for hub tokens are now separate from host addresses/credentials
* small change to docstring
* use *args **kwargs
2019-04-18 14:37:52 +02:00
GeoffAtHome
e02a5f0b31
Genius hub ( #21598 )
...
* Adding Genius Hub
* Added Genius hub
* Correct hound errors
* Correct hound errors.
* Correct tox errors.
* Fix travis errors
* Correct sensor names
* Correct travis errors
* Correct hound errors
* Follow up from code review by Martin Hjelmare
* More changes from code review.
* Attempt to resolve conflicts in requirements_all
* de-lint for the houndci-bot
* better logging message, and small tidy-up
* minor refactor and de-lint
* domain name should be the same as the component name
* use self where appropriate
* minor de-lint
* add entities as a single call
* de-lint
* all read-only attrs almost done
* refactor - near the end
* change state/,ode mapping
* override temp from curr_temp
* all read-only properties working
* working now
* ready for PR, but need to remove logging
* de-lint
* de-linted, ready for merge
* de-linted, ready for merge 2
* didn't like import in climate/__init__
* improve footprint logic
* add manifest.json
* add manifest.json 2
* correct a regression
* fix regression with device.is_on()
* use latest client library
* update to latest client library, 3.3.6
* delint and shoudl be OK to go
2019-04-16 23:54:46 +02:00