Commit Graph

536 Commits (9fc9d50e077d17cd35822701a8c7b85efa80e49d)

Author SHA1 Message Date
flfue a3e526d6cf
Add return for certified devices to not apply availability check (#62728) 2021-12-26 23:31:51 -08:00
Marcel van der Veldt c79f13429c
Fix Hue docstring (#62684) 2021-12-23 16:41:22 +01:00
Marcel van der Veldt 430cc6194b
Never use availability workaround for certified Hue devices (#62676) 2021-12-23 15:35:57 +01:00
Christian Manivong 772428e70f
Round Hue transition to steps of 100ms (#62619)
* Adding round() to transition before firing turn_on, turn_off #62608
2021-12-23 15:08:24 +01:00
Marcel van der Veldt eb37668036
Fix Hue button events (#62669) 2021-12-23 14:24:37 +01:00
Marcel van der Veldt 8e759bb267
Adjust Hue retry logic to changes in the aiohue library (#62665) 2021-12-23 14:04:10 +01:00
Marcel van der Veldt aa9746808e
Bump aiohue to 3.0.10 (#62664) 2021-12-23 12:18:53 +01:00
Marcel van der Veldt 247c220882
Bump aiohue to 3.0.9 (#62658) 2021-12-23 10:14:07 +01:00
Paulus Schoutsen 1edfa2d426
Bump aiohue to 3.0.8 (#62651) 2021-12-22 23:17:04 -08:00
GitHub Action babd753610 [ci skip] Translation update 2021-12-21 00:15:06 +00:00
Marcel van der Veldt 92454e3ac8
Change Hue availability blacklist logic a bit (#62446) 2021-12-20 16:09:14 -08:00
Marcel van der Veldt d22012ac43
bump aiohue to 3.0.7 (#62444) 2021-12-20 13:45:38 -08:00
Marcel van der Veldt ad171944da
Add guard in call to activate_scene in Hue (#62177) 2021-12-17 10:50:10 +01:00
GitHub Action d4f8a7c056 [ci skip] Translation update 2021-12-17 00:14:01 +00:00
Marcel van der Veldt 62f411fccc
Bump aiohue to 3.0.6 (#61974) 2021-12-16 00:53:20 +01:00
Marcel van der Veldt a6f0492623
Bump aiohue to 3.0.5 (#61875) 2021-12-15 12:15:05 +01:00
Marcel van der Veldt 01c8e5f49d
Fix turn_off with transition for grouped Hue lights (#61728)
* fix turn_off with transition for grouped hue lights

* add test
2021-12-14 11:24:37 -08:00
epenet 36da11e924
Use new enums in hue (#61772)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-14 13:08:49 +01:00
Marcel van der Veldt 438d19f72b
Fix Flash effect for Hue lights (#61733) 2021-12-13 16:27:58 -08:00
Marcel van der Veldt 89a6640b82
Blacklist availability check for a light at startup in Hue integration (#61737) 2021-12-13 16:23:32 -08:00
Marcel van der Veldt 4204f5799f
Add check for incompatible device trigger in Hue integration (#61726) 2021-12-13 16:04:55 -08:00
Paulus Schoutsen 237232dad6
Bump aiohue to 3.0.4 (#61709) 2021-12-13 10:46:57 -08:00
Paulus Schoutsen 4013c0eb2b
Bump aiohue to 3.0.3 (#61627) 2021-12-12 14:28:59 -08:00
Marcel van der Veldt ed8d5c09ff
Fix availability for 3th party Hue lights (#61603) 2021-12-12 14:12:35 -08:00
Marcel van der Veldt 4ad90b33c9
Fix Hue transition calculation (#61581) 2021-12-12 14:11:41 -08:00
Marcel van der Veldt 599d5c4c41
enable grouped light if enabled in previous integration (#61582) 2021-12-12 10:12:49 -08:00
GitHub Action f75b325ab2 [ci skip] Translation update 2021-12-12 00:14:30 +00:00
Marcel van der Veldt 0abfc90870
Fix typo in Hue device triggers - use enum value (#61498) 2021-12-11 17:12:33 +01:00
Marcel van der Veldt 0d36b07d10
Small fix for device triggers and events on Hue integration (#61462) 2021-12-10 15:11:34 -08:00
GitHub Action 0aaf9459ab [ci skip] Translation update 2021-12-10 00:13:29 +00:00
Paulus Schoutsen 54e312e1f7
Fix hue groups inheritance (#61308) 2021-12-08 23:58:23 -08:00
Marcel van der Veldt 7c7df5bb51
Change check for existence of options flow (#61147)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-12-07 12:50:34 -08:00
Marcel van der Veldt 4563d95d40
Replace deprecated DEVICE_CLASS constants with new enums in Hue integration (#61149) 2021-12-07 11:41:43 +01:00
GitHub Action 5258c5fc9c [ci skip] Translation update 2021-12-07 00:51:52 +00:00
Marcel van der Veldt 9e6e9774d1
Remove colon from default entity name in Hue integration (#61118) 2021-12-06 15:17:17 -08:00
Paulus Schoutsen 10a423e01a
Bump aiohue to 3.0.2 (#61115) 2021-12-06 09:46:17 -08:00
Marcel van der Veldt bd8bba9e3f
Fix migration of entities of Hue integration (#61095)
* fix device name in log

* Fix Hue migration for all id versions

* fix tests

* typo

* change to bit more universal approach

* fix test again

* formatting
2021-12-06 08:24:59 -08:00
Marc Mueller 40b99135e5
Use platform enum (3) [H-L] (#60937)
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2021-12-05 17:10:07 -10:00
Marcel van der Veldt b98bc64604
Disable options flow for Hue V2 bridges (#61045) 2021-12-05 09:47:44 -08:00
Marcel van der Veldt 11e2f51681
Fix Hue migration (#61030) 2021-12-05 09:47:24 -08:00
Marcel van der Veldt 3eeb855679
Fix Hue config flow (#61028) 2021-12-05 09:46:48 -08:00
Marcel van der Veldt 86e8034ea0
Add guard for empty mac address in Hue integration (#61037) 2021-12-05 09:46:05 -08:00
GitHub Action fa5f524fdb [ci skip] Translation update 2021-12-05 00:14:27 +00:00
GitHub Action 68ca0a05c8 [ci skip] Translation update 2021-12-04 00:13:16 +00:00
GitHub Action de792e3af2 [ci skip] Translation update 2021-12-02 00:13:02 +00:00
GitHub Action c9589f763c [ci skip] Translation update 2021-12-01 00:17:12 +00:00
Marcel van der Veldt 19b4cc7119
Hue handle device update (#60612) 2021-11-30 10:14:51 -08:00
epenet d75785d701
Use dataclass properties in hue discovery (#60598)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 16:36:35 +01:00
epenet ec1c52d945
Use dataclass for SsdpServiceInfo (#59931)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-29 06:10:07 -10:00
GitHub Action 2918e2d7d0 [ci skip] Translation update 2021-11-29 00:13:08 +00:00
GitHub Action 3af54d96c7 [ci skip] Translation update 2021-11-28 00:14:19 +00:00
GitHub Action 96313bbbe0 [ci skip] Translation update 2021-11-27 00:12:17 +00:00
Franck Nijhof 249cac2901
Remove myself as codeowner from Hue (#60395) 2021-11-26 10:03:51 +01:00
epenet 624d866239
SSDP attributes can be present but empty (#60340)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-25 11:41:49 -06:00
GitHub Action d3c020325b [ci skip] Translation update 2021-11-25 00:13:33 +00:00
GitHub Action 9e606abb0c [ci skip] Translation update 2021-11-23 00:13:54 +00:00
Erik Montnemery 49a27e12ad
Add support to entity registry for overriding device_class (#59985) 2021-11-22 08:38:06 -08:00
GitHub Action e98977fb49 [ci skip] Translation update 2021-11-21 00:13:51 +00:00
Marcel van der Veldt 7161a0bf2a
Add guard for already migrated Hue entity (#59930)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-11-20 14:46:11 -08:00
Marcel van der Veldt 4820acb897
Fix for deviceless entities in Hue integration (#59820) 2021-11-20 14:45:51 -08:00
epenet df3f3321f2
Use ZeroconfServiceInfo in hue (#59980)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-20 14:39:14 -08:00
GitHub Action 29dc9de08f [ci skip] Translation update 2021-11-19 00:14:01 +00:00
GitHub Action 9a85c8d894 [ci skip] Translation update 2021-11-18 00:12:48 +00:00
GitHub Action b82fac1a73 [ci skip] Translation update 2021-11-17 00:13:20 +00:00
Marcel van der Veldt e1e6925097
Refactor of Hue integration with full V2 support (#58996)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-11-16 11:59:17 -08:00
epenet b3ffc1e183
Adjust async_step_zeroconf signature for strict typing (#59503)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-15 18:05:45 +01:00
GitHub Action fc539da42b [ci skip] Translation update 2021-11-14 00:12:48 +00:00
GitHub Action 86b12af3dc [ci skip] Translation update 2021-11-10 00:17:39 +00:00
GitHub Action e35b83081e [ci skip] Translation update 2021-11-08 00:12:31 +00:00
GitHub Action 332a571bb4 [ci skip] Translation update 2021-11-07 00:12:38 +00:00
J. Nick Koston 10d6247fee
Bump to aiohttp 3.8.0 (#58974) 2021-11-04 10:07:50 -05:00
GitHub Action c9c95165e4 [ci skip] Translation update 2021-11-04 00:12:21 +00:00
GitHub Action 4e419d8c6f [ci skip] Translation update 2021-11-01 00:13:04 +00:00
epenet 2ae86124c7
Add zeroconf ATTR constants (#58671)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-10-31 16:13:26 +01:00
Paulus Schoutsen e1e864d2b6
Get the registry using the callback method (#58542) 2021-10-27 15:58:14 -07:00
GitHub Action 30fb619095 [ci skip] Translation update 2021-10-24 00:12:57 +00:00
Ville Skyttä b52c5c82b1
Use http.HTTPStatus in components/[gh]* (#58246) 2021-10-23 20:34:53 +02:00
Robert Hillis 4a8e9df026
Use DeviceInfo Class H (#58276) 2021-10-23 15:35:33 +02:00
GitHub Action 1b42caa34a [ci skip] Translation update 2021-10-23 00:11:40 +00:00
epenet 58c5b5058c
Use DeviceInfo on components with via_device (H) (#58211)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-10-22 11:52:48 +02:00
GitHub Action f9d985553c [ci skip] Translation update 2021-10-22 00:14:10 +00:00
Paulus Schoutsen 4fe4e65e3e
Add entity category to Hue (#58011) 2021-10-19 12:29:43 +02:00
GitHub Action a1176cc79a [ci skip] Translation update 2021-10-18 00:11:59 +00:00
Christian Manivong 16b7375e60
Provide device_id in hue_event (#56982)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-10-13 20:20:38 +02:00
GitHub Action 8fea54fff7 [ci skip] Translation update 2021-10-07 00:10:57 +00:00
Paulus Schoutsen 1a7a4c52f1
Bump aiohue to 2.6.3 (#57125) 2021-10-05 19:42:45 +02:00
Paulus Schoutsen eb9b9c57a4 [ci skip] Translation update 2021-10-04 08:38:24 -07:00
GitHub Action f42c2f5170 [ci skip] Translation update 2021-10-02 12:59:05 +00:00
logan893 cf6398a949
Fix hue turning on eWeLink switch (#56318) 2021-09-30 12:22:42 +02:00
Paulus Schoutsen 0a426b5686
Bump aiohue to 2.6.2 (#56234) 2021-09-15 06:23:19 +02:00
Paulus Schoutsen 32212651fe
Add zeroconf discovery to Hue (#55358)
* Add zeroconf discovery to Hue

* Add coverage for already exists case

Co-authored-by: J. Nick Koston <nick@koston.org>
2021-09-12 20:00:51 -07:00
Paulus Schoutsen cce0ca5688
Tag Hue errors as format strings (#55751) 2021-09-04 15:38:14 -07:00
Paulus Schoutsen 7111fc47c4
Better handle invalid trigger config (#55637) 2021-09-03 10:15:57 -07:00
realPy 7bd7d644a0
Correct flash light livarno when use hue (#55294)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-08-27 09:25:27 -07:00
GitHub Action 65d14909ee [ci skip] Translation update 2021-08-27 00:14:42 +00:00
Paulus Schoutsen 9fc96818df
Guard for unparsable date time (#55108) 2021-08-23 23:56:47 -07: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
GitHub Action 390023a576 [ci skip] Translation update 2021-08-11 00:18:57 +00:00
GitHub Action 98bcdc2cf5 [ci skip] Translation update 2021-08-07 00:10:12 +00:00
GitHub Action 64c9f9e1cb [ci skip] Translation update 2021-08-06 00:15:04 +00:00
Paulus Schoutsen 91e55bdd14
Bump aiohue to 2.6.1 (#53887) 2021-08-02 14:44:15 -07:00
GitHub Action 8c5620e74b [ci skip] Translation update 2021-08-02 03:40:04 +00:00
Paulus Schoutsen 90cf94bb30
Bump Hue and only fire events for button presses (#53781)
* Bump Hue and only fire events for button presses

* Fix tests
2021-07-30 14:14:58 -07:00
GitHub Action ecf0d4398d [ci skip] Translation update 2021-07-22 00:10:31 +00:00
Daniel Hjelseth Høyer fbad453c89
Pylint 2.9.3 (#52972)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2021-07-14 21:44:57 -07:00
GitHub Action 0c5ce9cac2 [ci skip] Translation update 2021-07-07 00:11:57 +00:00
GitHub Action 378b5f75ec [ci skip] Translation update 2021-07-04 00:09:33 +00:00
Erik Montnemery 76c3058d15
Rename device trigger base schema to DEVICE_TRIGGER_BASE_SCHEMA (#51719) 2021-06-10 19:11:38 +02:00
cklagenberg f09f47f13a
Add device trigger support for Philips Hue Wall Switch Module (#51574) 2021-06-09 12:06:02 +02:00
GitHub Action 7615af35d8 [ci skip] Translation update 2021-06-07 00:18:16 +00:00
GitHub Action c81df50191 [ci skip] Translation update 2021-06-06 00:19:43 +00:00
Paulus Schoutsen bf3a561149
Bump aiohue to 2.5.1 (#51447) 2021-06-03 17:16:32 -07:00
Erik Montnemery b169a8dbda
Mark battery, humidity and pressure sensors as STATE_CLASS_MEASUREMENT (#50924)
* Mark battery, humidity and pressure sensors as STATE_CLASS_MEASUREMENT

* Fix deconz battery sensor
2021-05-24 11:36:42 +02:00
Franck Nijhof 0cbcb9e0d6
Fix Hue overriding property methods, remove ignored typing (#50976) 2021-05-22 20:32:41 -07:00
Erik Montnemery 73d7a754e8
Mark temperature sensors as STATE_CLASS_MEASUREMENT (#50889)
* Mark temperature sensors as STATE_CLASS_MEASUREMENT

* Fix broadlink tests

* Tweak Hue changes
2021-05-21 11:44:34 +02:00
Paulus Schoutsen 2976bbbbdd
Store Hue bridge in hass.data before setting up platforms (#50703)
* Store bridge in hass.data before setting up platforms

* Self
2021-05-20 09:08:23 +02:00
Paulus Schoutsen 56774a9f63
Hue: unique ID for groups + remote events (#50748) 2021-05-17 08:07:25 -07:00
Franck Nijhof 117860f13b
Update Hue IoT Class to Local Push (#50637) 2021-05-15 13:30:23 +02:00
Paulus Schoutsen 646af533f0
Add support for Hue push updates (#50591) 2021-05-14 13:39:57 -07:00
Paulus Schoutsen 5ed252ebfa
Bump aiohue to 2.3.1 (#50506) 2021-05-11 22:15:36 -07:00
J. Nick Koston 34c84a6bbb
Reduce boilerplate to abort for matching config entries (#50186)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-05-11 22:00:12 +02:00
Erik Montnemery ba284c0d27
Add sensor state_class property (#50063)
* Add sensor state_class property

* STATE_CLASS_LATEST -> STATE_CLASS_MEASUREMENT

* Export sensor.state_class in capability_attributes

* Add STATE_CLASS_UNKNOWN

* Fix typing

* Update tests

* STATE_CLASS_UNKNOWN -> STATE_CLASS_OTHER

* Update homeassistant/components/sensor/__init__.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

* Remove STATE_CLASS_OTHER

* Update tests

* Revert test changes

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-05-07 23:04:00 +02:00
Paulus Schoutsen 17fc962a87
Bump aiohue to 2.3.0 (#50217)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-05-07 14:24:47 +02:00
Franck Nijhof 10d6dfd4ae
Clean up connection classes in integrations H-L (#49891) 2021-04-30 21:02:53 -10:00
Ruslan Sayfutdinov 183220008d
Rename FlowResultDict to FlowResult (#49847) 2021-04-29 13:40:51 +02:00
J. Nick Koston a1fdf84dba
Reduce config entry setup/unload boilerplate G-J (#49737) 2021-04-27 16:09:59 +02:00
J. Nick Koston 9222d3e9f9
Ensure hue connection errors are passed to ConfigEntryNotReady (#49674)
- Limits log spam on retry
2021-04-25 16:42:45 -10:00
starkillerOG 3e3cd0981d
Reduce hue gamut warning to debug (#49624) 2021-04-25 11:50:08 +02:00
Milan Meulemans 48695869f9
Change dict[str, Any] to FlowResultDict (#49546) 2021-04-22 17:23:15 -10:00
Paulus Schoutsen 9fe0c96474
Fix Hue activate scene (#49556) 2021-04-22 19:29:11 +02:00
HomeAssistant Azure f6a24e8d68 [ci skip] Translation update 2021-04-20 00:04:05 +00:00
Franck Nijhof 055cdc64c0
Add support for IoT class in manifest (#46935) 2021-04-15 10:21:38 +02:00
Paulus Schoutsen 28347e19c5
Fix Hue service being removed on entry reload (#48663) 2021-04-13 09:31:23 -07:00
HomeAssistant Azure 93c68f8be6 [ci skip] Translation update 2021-04-13 00:04:04 +00:00
Marc Mueller 2956eb0902
Update pylint to 2.7.3 (#48488)
* Update pylint to 2.7.3

* Add class-const-naming-style

* Remove unused-import message

* Additional cleanup
2021-03-29 18:02:56 -10:00
Franck Nijhof 786023fce4
Merge of nested IF-IF cases - H-J (#48368) 2021-03-27 11:30:29 +01:00
Erik Montnemery 339a56e434
Migrate integrations f-h to extend SensorEntity (#48212) 2021-03-22 19:45:17 +01:00
J. Nick Koston c820dd4cb5
Have pylint warn when user visible log messages do not start with capital letter or end with a period (#48064)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-03-19 09:26:36 -05:00
HomeAssistant Azure d77a28b8a1 [ci skip] Translation update 2021-03-19 00:03:03 +00:00
Marc Mueller 5cdd945f44
Update typing 08 (#48058) 2021-03-18 09:25:40 +01:00
HomeAssistant Azure f625e324dd [ci skip] Translation update 2021-03-18 00:07:07 +00:00
HomeAssistant Azure 4306c8fbb4 [ci skip] Translation update 2021-03-17 00:03:55 +00:00
HomeAssistant Azure c11b85af2f [ci skip] Translation update 2021-03-16 00:04:36 +00:00
Erik Montnemery af4d06b12e
Update integrations f-i to override extra_state_attributes() (#47757) 2021-03-11 16:57:47 +01:00
Franck Nijhof 10535018cc
Improve HomeKit discovered Hue config flow (#47729) 2021-03-10 11:20:51 -08:00
Paulus Schoutsen 3ad4c26f98
Allow SSDP discovery modern Hue hubs (#47725) 2021-03-10 19:21:51 +01:00
Franck Nijhof cc99fd5e32
Fix Hue scene overriding Hue default transition times (#47454) 2021-03-05 09:43:26 -08:00
J. Nick Koston 7ab2d91bf0
Add suggested area to hue (#47056) 2021-02-26 10:35:09 -06:00
J. Nick Koston 6af67c9558
Ensure hue options show the defaults when the config options have not yet been saved (#47067) 2021-02-25 21:58:35 -08:00
HomeAssistant Azure 9159f54900 [ci skip] Translation update 2021-02-24 00:04:14 +00:00