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
656d383ba6
Ensure service calls are typed [e-g] ( #62912 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-28 14:23:01 +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
Marc Mueller
f6b162bc39
Add pylint CodeStyle extension ( #53147 )
2021-07-19 06:57:06 -07:00
tkdrob
028a07d86f
Wrap up selectors ( #50794 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-05-25 14:45:17 +02:00
tkdrob
4ce3038b29
Add targets and selectors for services (G-H) ( #50524 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-05-12 20:49:04 +02:00
Franck Nijhof
d4565c0e27
Fix Genius Hub entity service schema ( #50024 )
2021-05-03 09:41:59 -07:00
Franck Nijhof
2ed386f9e6
Migrate to async_get_current_platform everywhere ( #50034 )
2021-05-03 09:34:28 -07:00
jan iversen
d168749a51
Integrations: HomeAssistantType --> HomeAssistant. Last batch. ( #49591 )
2021-04-23 10:34:02 +02:00
Franck Nijhof
055cdc64c0
Add support for IoT class in manifest ( #46935 )
2021-04-15 10:21:38 +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
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
GeoffAtHome
da713e206d
Add override duration for genius hub switches ( #45558 )
2021-01-29 12:44:56 +01:00
springstan
d2b1918e9c
Drop UNIT_ prefix for percentage constant ( #39383 )
2020-09-05 21:09:14 +02: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
Erik Montnemery
f3d79104a7
Rename WaterHeaterDevice to WaterHeaterEntity ( #34675 )
...
* Rename WaterHeaterDevice to WaterHeaterEntity
* Fix stale name
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-05-01 16:29:14 +02:00
Erik Montnemery
066e921a8b
Rename SwitchDevice to SwitchEntity ( #34673 )
2020-04-26 18:50:37 +02:00
Erik Montnemery
29bc93ea98
Rename ClimateDevice to ClimateEntity ( #34591 )
2020-04-25 18:04:03 +02:00
Erik Montnemery
b022e08db9
Rename BinarySensorDevice to BinarySensorEntity ( #34462 )
...
* Rename BinarySensorDevice to BinarySensorEntity
* Tweak
* Move deprecation warning to __new__, add test
* Move deprecation warning back to __init__
* Move deprecation warning to __init_subclass
2020-04-23 21:57:07 +02:00
Franck Nijhof
39336d3ea3
Add prettier (in pre-commit and CI) ( #33693 )
...
* Add prettier (in pre-commit and CI)
* Make all file prettier
* Change order
* Add to Azure Pipelines
* Fix a YAML file prettier caught as invalid
* Remove flow mapping using curly braces from all YAML service files
2020-04-05 17:27:16 +02:00
Paulus Schoutsen
f1d3c0d19b
Remove unused manifest fields ( #33595 )
2020-04-03 12:58:19 -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
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
bfa8cb760f
Add services to geniushub ( #30918 )
...
adds:
- `set_zone_override`, and
- `set_zone_mode`
2020-01-18 12:14:50 +00:00
Franck Nijhof
a84741392b
Format all manifests with prettier ( #30521 )
2020-01-06 21:28:23 +01:00
Bas Nijholt
d58e6e924a
Sort imports according to PEP8 for components starting with "G" ( #29767 )
2019-12-09 14:17:36 +01: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
269c8f1d14
Add hvac_action to geniushub ( #28056 )
...
* add hvac_action() to climate zones
2019-10-21 14:04:56 +01: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
2d1f7932ba
bump client ( #27799 )
2019-10-17 17:19:07 -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
Franck Nijhof
c7da781efc
Update documentation link URL for integrations in all manifests ( #27114 )
2019-10-02 09:25:44 -07:00
David Bonnes
fbc3376c32
Bump geniushub-client to 0.6.13 ( #26554 )
...
* bump geniushub client
2019-09-10 16:19:08 +01:00
David Bonnes
7614f9f3fb
Bump geniushubclient ( #26519 )
...
* bump client
* bump again
2019-09-08 15:11:40 +02:00
David Bonnes
a202afcac2
bump geniushub client ( #26476 )
...
fixes #26440
2019-09-06 12:25:46 +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
b0e4260562
Bump geniushub client ( #25458 )
2019-07-24 08:39:34 -04: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