Robert Svensson
57fa7f926a
Introduce reauth flow to deCONZ ( #45443 )
2021-01-22 23:37:16 +01:00
Robert Svensson
18c7ae9a8b
Fix hs_color crashing when activating scenes in deCONZ on color_temp lights ( #45159 )
2021-01-22 22:40:22 +01:00
Robert Svensson
aaf4cd4a25
Basic logbook support for deCONZ events ( #45400 )
...
* Basic logbook support
* Improve formulation of message
* Improve typing
2021-01-22 22:39:11 +01:00
Ville Skyttä
da66a4e933
Device automation config error message improvements ( #44656 )
...
Refs #44654 , #44655
2020-12-31 00:02:14 +01:00
Robert Svensson
49d9823630
Bump pydeconz to version 77 ( #44514 )
2020-12-26 22:24:05 +01:00
Ville Skyttä
317ed418dd
Use singleton enum for "not set" sentinels ( #41990 )
...
* Use singleton enum for "not set" sentinel
https://www.python.org/dev/peps/pep-0484/#support-for-singleton-types-in-unions
* Remove unused variable
2020-12-19 12:46:27 +01:00
HomeAssistant Azure
848224262c
[ci skip] Translation update
2020-12-10 00:03:01 +00:00
Robert Svensson
e2ef9d1afc
Some lights only support hs, like the lidl christmas lights ( #44059 )
2020-12-09 19:02:44 +01:00
HomeAssistant Azure
9c63fbfcb1
[ci skip] Translation update
2020-12-07 00:04:18 +00:00
Robert Svensson
bc83e30761
Fix device refresh service can always add devices ( #43950 )
2020-12-05 11:53:43 +01:00
HomeAssistant Azure
42f00cff30
[ci skip] Translation update
2020-12-04 00:05:42 +00:00
Robert Svensson
2c66d26415
Improve look up speed by inverting dictionaries ( #43883 )
2020-12-03 10:37:39 +01:00
Franck Nijhof
f2a371257d
Translation update
2020-12-02 20:51:05 +01:00
Robert Svensson
a8f0ad1dd8
Allow creating deCONZ config entry even when no bridge id is available
2020-12-02 19:10:47 +01:00
Robert Svensson
6e8efe2b67
Add fan support to deCONZ climate platform ( #43721 )
2020-12-02 18:08:46 +01:00
Robert Svensson
25db1dac23
Add preset support to deCONZ climate platform ( #43722 )
2020-12-02 17:14:05 +01:00
Robert Svensson
ac2c01d20c
deCONZ improve options updating entities ( #42320 )
2020-12-02 16:21:27 +01:00
Robert Svensson
1faef0a4d4
Make simple deCONZ thermostats work ( #43781 )
2020-12-01 18:49:58 +01:00
Robert Svensson
6fa3e287da
Add support to control cooling in deCONZ climate platform ( #43720 )
...
* Add fan support
* Add HVAC cool support
* Fix Martins comment from #43607
* Add preset support
* Improve climate test coverage
* Remove fan support
* Remove preset support
* Remove last preset piece
2020-11-28 13:11:13 +01:00
Erik Montnemery
a5e5c5c7e6
Exclude disabled entities from async_entries_for_device ( #43665 )
2020-11-27 09:03:44 +01:00
HomeAssistant Azure
ed16c5078f
[ci skip] Translation update
2020-11-26 00:03:15 +00:00
Robert Svensson
acb94b0b59
Add tilt support to deCONZ covers ( #43607 )
2020-11-24 21:42:11 +01:00
Robert Svensson
7214d6517a
Fix conversion of cover position between HASS and deCONZ ( #43602 )
2020-11-24 14:47:56 +01:00
HomeAssistant Azure
fcd8684d40
[ci skip] Translation update
2020-11-24 00:04:19 +00:00
Robert Svensson
55cbd5aa0d
Track deCONZ lib changes to light based devices ( #43366 )
...
* Improve control of covers
* Log backtrace if available
* Do not create entity for controller tool
Binary sensor should use state rather than is_tripped
Add some more tests to lights and sensors
* Bump dependency to v74
* Fix Balloobs comments
2020-11-23 11:37:11 +01:00
Robert Svensson
ffe0c1cd58
Add device id to deconz_event ( #43552 )
2020-11-23 09:22:44 +01:00
HomeAssistant Azure
8a0907acf9
[ci skip] Translation update
2020-11-12 00:10:58 +00:00
Paulus Schoutsen
54f3d9078a
Update translations
2020-11-11 12:10:09 +01:00
HomeAssistant Azure
95c9880c52
[ci skip] Translation update
2020-11-10 00:04:21 +00:00
HomeAssistant Azure
57c6bb96f4
[ci skip] Translation update
2020-11-07 00:04:02 +00:00
HomeAssistant Azure
e972686a13
[ci skip] Translation update
2020-11-06 00:04:57 +00:00
HomeAssistant Azure
b71e28dfac
[ci skip] Translation update
2020-11-04 00:13:14 +00:00
HomeAssistant Azure
aab0ff2ea5
[ci skip] Translation update
2020-11-03 00:04:39 +00:00
HomeAssistant Azure
abe6f552f6
[ci skip] Translation update
2020-11-01 00:04:54 +00:00
HomeAssistant Azure
b9d04b9304
[ci skip] Translation update
2020-10-30 00:02:45 +00:00
HomeAssistant Azure
f4cebfbb7e
[ci skip] Translation update
2020-10-27 00:06:28 +00:00
HomeAssistant Azure
c2a9f2ae52
[ci skip] Translation update
2020-10-26 00:03:36 +00:00
HomeAssistant Azure
6e53aa1155
[ci skip] Translation update
2020-10-23 00:03:04 +00:00
HomeAssistant Azure
b102ad731f
[ci skip] Translation update
2020-10-22 00:09:52 +00:00
Robert Svensson
1a97b0edd9
Fix deCONZ device refresh service ( #42175 )
2020-10-21 20:35:19 +02:00
Ronaldo Lima
1355d285e8
Remove unused strings in deCONZ config flow ( #41978 )
2020-10-18 15:26:40 +02:00
HomeAssistant Azure
1a03bbda5a
[ci skip] Translation update
2020-10-18 00:03:28 +00:00
Robert Svensson
c6c617ed31
Improve device registry for host and deCONZ service ( #41786 )
2020-10-17 11:44:23 -05:00
HomeAssistant Azure
39adf14079
[ci skip] Translation update
2020-10-17 00:06:00 +00:00
Robert Svensson
8c0b39eb9c
No update before adding entity in deCONZ ( #41948 )
2020-10-16 17:14:26 +02:00
Robert Svensson
85ccff28cd
Revert partial changes to deCONZ integration from earlier PR ( #41943 )
2020-10-16 14:38:12 +02:00
Ville Skyttä
92488849ea
Add deCONZ IKEA TRÅDFRI wireless dimmer fast rotate events ( #41573 )
...
Ref https://fccid.io/FHO-ICTC-G-1/User-Manual/User-Manual-3155271.pdf
2020-10-16 12:12:59 +02:00
HomeAssistant Azure
994ae09f69
[ci skip] Translation update
2020-10-15 00:03:50 +00:00
Robert Svensson
cb6d3b590e
Revert device trigger modelid for Trådfri remotes for deCONZ ( #41843 )
2020-10-14 23:39:00 +02:00
HomeAssistant Azure
ba55cb8955
[ci skip] Translation update
2020-10-14 00:04:41 +00:00
Robert Svensson
dc71b7421c
Improve deCONZ climate platform handling unsupported commands ( #41780 )
...
* Improve deCONZ climate platform
* Raise valueerror if missing input
* Fix linting
2020-10-13 22:11:09 +02:00
Robert Svensson
267d97e80e
Improve deCONZ fan platform handling unsupported commands ( #41779 )
...
* Improve handling unsupported commands
* Raise valueerror on unsupported speed
* Fix linting
2020-10-13 19:34:33 +02:00
Robert Svensson
72289b8171
Add fan support to deCONZ ( #40806 )
...
* Add fan support to deconz
* Fix gateway test
* Fix lint issue
* Apply suggestions from code review
* Fix black
* Improve tests
* Store previously used speed in case turn_on service is called without a speed attribute
* Fix tests
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-13 12:57:42 +02:00
HomeAssistant Azure
1417a4161f
[ci skip] Translation update
2020-10-13 00:03:24 +00:00
HomeAssistant Azure
f787289ea0
[ci skip] Translation update
2020-10-12 00:03:31 +00:00
HomeAssistant Azure
80522f1bdc
[ci skip] Translation update
2020-10-11 00:03:37 +00:00
Ville Skyttä
66aa55dddf
Fix deCONZ IKEA TRÅDFRI device name spelling ( #41574 )
2020-10-10 13:04:00 +02:00
HomeAssistant Azure
6ae12c3faf
[ci skip] Translation update
2020-10-10 00:05:05 +00:00
HomeAssistant Azure
d73d36d0cd
[ci skip] Translation update
2020-10-08 00:06:03 +00:00
HomeAssistant Azure
486c0b644a
[ci skip] Translation update
2020-10-07 00:06:20 +00:00
springstan
513f03eb1f
Return attribute dict directly without temporary variable v2 ( #41271 )
2020-10-06 16:55:16 +02:00
HomeAssistant Azure
bcfa4ac959
[ci skip] Translation update
2020-10-06 00:08:09 +00:00
HomeAssistant Azure
8d1d585b40
[ci skip] Translation update
2020-10-05 00:04:23 +00:00
HomeAssistant Azure
f8c2d877aa
[ci skip] Translation update
2020-10-04 00:05:05 +00:00
springstan
064a453604
Add already_in_progress to base strings for config flows ( #40961 )
2020-10-03 15:49:09 +02:00
Robert Svensson
552856203b
Clean deCONZ tests to depend less on integration code ( #41015 )
2020-10-02 11:20:33 +02:00
HomeAssistant Azure
81c6d48cb4
[ci skip] Translation update
2020-10-02 00:05:51 +00:00
Robert Svensson
c2ed743237
Improve deCONZ platforms ( #40986 )
...
* Use platform domain imports with the list of supported platforms
* Remove legacy async_setup_platform from platforms
2020-10-01 19:06:20 +02:00
Robert Svensson
9116061262
Add lock support to deCONZ ( #40807 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-01 09:50:06 +02:00
Robert Svensson
d95f83b5fb
Improve logging to identify which deCONZ device is at fault ( #40808 )
2020-10-01 09:23:32 +02:00
Robert Svensson
2922d4675f
Abort deCONZ config flow if no radio hardware is connected ( #40811 )
2020-10-01 09:23:12 +02:00
HomeAssistant Azure
7d39ecffa0
[ci skip] Translation update
2020-10-01 00:04:01 +00:00
Robert Svensson
9d56d3bb31
Add deCONZ service to clean up orphaned device and entity entries ( #40629 )
...
* Add service that can clean up by deCONZ orphaned entries from device and entity registry
* Fix existing tests
* Add new test
* Add some inline comment to the service
2020-09-30 20:11:41 +02:00
Robert Svensson
082f866620
Improve deCONZ state updates ( #40601 )
2020-09-30 17:24:30 +02:00
HomeAssistant Azure
8d0f1e7db2
[ci skip] Translation update
2020-09-30 00:04:43 +00:00
Robert Svensson
7e58bfe01d
Add deconz option to disable automatic addition of new devices ( #40545 )
...
* Allow disabling automatic additions of new devices from deconz
* Fix black
* Fix review comment
* Remove assertion
* Verify entity registry is empty
2020-09-29 11:07:19 +02:00
Fabrice Pipart
b7f596a71e
Fix support for Aqara WXKG06LM ( #40694 )
2020-09-28 20:36:28 +02:00
Robert Svensson
66a8edb11e
deCONZ fix comments from #40265 ( #40640 )
...
* Use set not list
* Events are not entities
* Don't await unload_events
* Remove checks of entities content in tests
* List to set comprehension
* Why is it so hard to remember that sets arent parenthesis...
2020-09-27 11:02:45 +02:00
Robert Svensson
203c556ba3
Improve tracking of existing entities in deconz ( #40265 )
...
* Store all entities in dict
* Use stored unique id to select if to create entity or not
* Remove unnecessary init
* Change so same physical sensor doesnt try to create multiple battery sensors
Change so groups get created properly
* Add controls in tests that entities are logged correctly
2020-09-25 22:49:28 +02:00
springstan
6c8e0e20fb
Add and use light lux constant in entire code base ( #40171 )
2020-09-23 20:48:01 +02:00
HomeAssistant Azure
75659ff787
[ci skip] Translation update
2020-09-23 00:05:01 +00:00
Robert Svensson
fb7fb0ea78
deCONZ - move event handling ( #40424 )
...
* Working draft
* Remove event references in sensor
2020-09-22 19:55:10 +02:00
HomeAssistant Azure
5dcaeebdac
[ci skip] Translation update
2020-09-20 00:05:00 +00:00
HomeAssistant Azure
0a0a8fc67d
[ci skip] Translation update
2020-09-18 00:07:17 +00:00
HomeAssistant Azure
f28b7f2187
[ci skip] Translation update
2020-09-16 00:09:01 +00:00
Dan Klaffenbach
74cef6966d
Expose angle and xy attributes in deCONZ event if present ( #39822 )
...
These attribute are used by the color wheel on the Müller Licht tint
remote control.
2020-09-15 21:13:17 +02:00
Robert Svensson
ceeea52915
Improve handling of mireds being far out of spec ( #40018 )
2020-09-13 16:31:39 +02:00
springstan
f93c0c5cd3
Use DEVICE_CLASS_WINDOW constant in various integrations ( #39949 )
2020-09-11 21:24:23 -05:00
HomeAssistant Azure
07d5af1969
[ci skip] Translation update
2020-09-08 00:04:13 +00:00
springstan
d2b1918e9c
Drop UNIT_ prefix for percentage constant ( #39383 )
2020-09-05 21:09:14 +02:00
HomeAssistant Azure
bfd6989c75
[ci skip] Translation update
2020-09-04 00:04:26 +00:00
HomeAssistant Azure
65b227126d
[ci skip] Translation update
2020-09-03 00:06:16 +00:00
Ville Skyttä
b4bac0f7a0
Exception chaining and wrapping improvements ( #39320 )
...
* Remove unnecessary exception re-wraps
* Preserve exception chains on re-raise
We slap "from cause" to almost all possible cases here. In some cases it
could conceivably be better to do "from None" if we really want to hide
the cause. However those should be in the minority, and "from cause"
should be an improvement over the corresponding raise without a "from"
in all cases anyway.
The only case where we raise from None here is in plex, where the
exception for an original invalid SSL cert is not the root cause for
failure to validate a newly fetched one.
Follow local convention on exception variable names if there is a
consistent one, otherwise `err` to match with majority of codebase.
* Fix mistaken re-wrap in homematicip_cloud/hap.py
Missed the difference between HmipConnectionError and
HmipcConnectionError.
* Do not hide original error on plex new cert validation error
Original is not the cause for the new one, but showing old in the
traceback is useful nevertheless.
2020-08-28 13:50:32 +02:00
HomeAssistant Azure
195d4b6897
[ci skip] Translation update
2020-08-27 00:04:55 +00:00
Paulus Schoutsen
3dc79aa60a
Track entity sources ( #37258 )
...
Co-authored-by: David Mulcahey <david.mulcahey@me.com>
2020-08-19 14:57:38 +02:00
Phil Bruckner
ca9dd0c833
Reorganize trigger code ( #38655 )
2020-08-17 11:54:56 -05:00
Michaël Arnauts
3761942b82
Use global CONF_UNIQUE_ID for deconz ( #38597 )
2020-08-09 13:21:11 -05:00
Dave Clarke
20e85e1191
Add support for Philips Hue Smart Button ( #38555 )
...
* Add support for Philips Hue Smart Button
* Fix linting with trailing commas
* Update to correct deconz and hue model names/IDs
2020-08-06 11:40:50 +02:00
HomeAssistant Azure
8abdc2c969
[ci skip] Translation update
2020-07-27 00:02:58 +00:00
Markus Korbel
b55d1127de
Added 2020 version Aqara double wall switch ( #38164 )
...
Added support for new 2020 version of the Aqara D1 double wall switch (lumi.remote.b286acn02)
Confirmed that all button press events use the same codes after updating deconz rest api to add support for this switch.
A contributor of the API currently has the working version @ git clone --branch Legrand-teleruptor https://github.com/Smanar/deconz-rest-plugin.git
2020-07-24 23:17:39 +02:00
HomeAssistant Azure
e766a119d2
[ci skip] Translation update
2020-07-22 00:02:30 +00:00
Robert Svensson
548e956670
deCONZ - don't let light "attr" events update group data ( #37797 )
2020-07-12 16:16:40 -07:00
HomeAssistant Azure
251a1d6619
[ci skip] Translation update
2020-07-09 00:05:04 +00:00
HomeAssistant Azure
a6fb9e6100
[ci skip] Translation update
2020-07-03 00:03:38 +00:00
HomeAssistant Azure
e48bcd2070
[ci skip] Translation update
2020-06-27 00:05:54 +00:00
HomeAssistant Azure
7920c5e5e8
[ci skip] Translation update
2020-06-18 00:08:13 +00:00
Franck Nijhof
3cc94f7d6a
ConfigFlow default discovery without unique ID ( #36754 )
2020-06-15 13:38:38 +02:00
HomeAssistant Azure
b15caf31a9
[ci skip] Translation update
2020-06-15 00:03:32 +00:00
HomeAssistant Azure
140fd5adaf
[ci skip] Translation update
2020-06-09 00:05:22 +00:00
HomeAssistant Azure
492874c4a0
[ci skip] Translation update
2020-06-06 00:03:33 +00:00
Robert Svensson
40829d9d76
Fix deCONZ groups don't report ctmax/min ( #36432 )
...
* Groups don't report ctmax/min
2020-06-04 10:15:30 +02:00
Robert Svensson
37f7d262d7
Change deCONZ sensor device classes ( #36352 )
...
* Change vibration type to vibration instead of motion
* Also replace icon and unit of measurement
2020-06-02 16:17:21 +02:00
Robert Svensson
a6e9a312a3
deCONZ - Don't send off signals to light if already off ( #36357 )
2020-06-02 00:20:52 +02:00
Robert Svensson
07469127ce
deCONZ - Add support for max/min mireds ( #36355 )
...
* Add support for max/min mireds reported per light from deconz .77
* Bump dependency
2020-06-01 23:48:18 +02:00
HomeAssistant Azure
564fb1d1e5
[ci skip] Translation update
2020-05-29 00:04:16 +00:00
HomeAssistant Azure
c10aa13d0b
[ci skip] Translation update
2020-05-20 00:03:49 +00:00
Carlos Giraldo
d02bb70f0c
deCONZ - Add support for "Window covering controller" ( #35294 )
...
* Add support for "Window covering controller"
Some window cover devices such as Sunricher SR-ZG9080A are identified in deconz as "Window covering controller".
We need to include this device type in const.py to be integrated as type "cover" in home-assistant.
* Added Window covering controller to deconz tests
2020-05-17 09:57:24 +02:00
HomeAssistant Azure
e94f44f294
[ci skip] Translation update
2020-05-17 00:02:56 +00:00
HomeAssistant Azure
9586e9ebef
[ci skip] Translation update
2020-05-15 00:02:56 +00:00
Paulus Schoutsen
0efeefe3b2
Update translations
2020-05-13 11:27:21 -07:00
Paulus Schoutsen
dd32324e01
Use config flow references for data ( #35529 )
2020-05-12 10:50:44 -07:00
Robert Svensson
ddd6b9cff1
Capitalize kane610 in codeowners since scripts are case sensitive ( #35375 )
2020-05-08 14:14:10 +02:00
HomeAssistant Azure
78f846d532
[ci skip] Translation update
2020-05-03 00:02:26 +00:00
HomeAssistant Azure
f4f2aff5b6
[ci skip] Translation update
2020-05-02 00:04:57 +00:00
HomeAssistant Azure
bd72ddda3c
[ci skip] Translation update
2020-05-01 00:02:55 +00:00
HomeAssistant Azure
5d37eb8eeb
[ci skip] Translation update
2020-04-30 00:03:17 +00:00
HomeAssistant Azure
7faba60e83
[ci skip] Translation update
2020-04-29 00:03:31 +00:00
Marcin
893f796df2
deCONZ - device triggers for Aqara Opple switches ( #34815 )
...
* Added Aqara Opple device triggers
* Update homeassistant/components/deconz/device_trigger.py
Co-Authored-By: Robert Svensson <Kane610@users.noreply.github.com>
* Update homeassistant/components/deconz/device_trigger.py
Co-Authored-By: Robert Svensson <Kane610@users.noreply.github.com>
* Update homeassistant/components/deconz/device_trigger.py
Co-Authored-By: Robert Svensson <Kane610@users.noreply.github.com>
* Fix flake8
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
2020-04-28 22:06:08 +02:00
HomeAssistant Azure
e13f78dfc5
[ci skip] Translation update
2020-04-28 00:04:52 +00:00
HomeAssistant Azure
aa2bfbb541
[ci skip] Translation update
2020-04-27 00:02:20 +00:00
Erik Montnemery
066e921a8b
Rename SwitchDevice to SwitchEntity ( #34673 )
2020-04-26 18:50:37 +02:00
Erik Montnemery
e4333a7a44
Rename Light to LightEntity ( #34593 )
2020-04-26 18:49:41 +02:00
HomeAssistant Azure
90e0a1af8a
[ci skip] Translation update
2020-04-26 00:02:45 +00:00
Erik Montnemery
8c5c963b96
Rename CoverDevice to CoverEntity ( #34595 )
2020-04-25 18:07:15 +02:00
Erik Montnemery
29bc93ea98
Rename ClimateDevice to ClimateEntity ( #34591 )
2020-04-25 18:04:03 +02:00
HomeAssistant Azure
5f775c1427
[ci skip] Translation update
2020-04-25 00:08:30 +00: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
HomeAssistant Azure
da87ec8499
[ci skip] Translation update
2020-04-23 00:05:07 +00:00
Paulus Schoutsen
e002c84eba
Don't set step title if it's integration title ( #34524 )
2020-04-22 15:05:39 +02:00
Joakim Sørensen
730a257f3c
Rename translations dir for integrations ( #34494 )
2020-04-21 16:11:05 -07:00
Franck Nijhof
bc5a2da7b7
Add transition support to scenes, cleanup blocking parameter ( #34434 )
2020-04-20 18:07:50 -07:00
Paulus Schoutsen
95357dfc55
Update translations
2020-04-20 16:33:54 -07:00
HomeAssistant Azure
6d7fb9f46a
[ci skip] Translation update
2020-04-20 00:04:37 +00:00
HomeAssistant Azure
d1b3ed717e
[ci skip] Translation update
2020-04-19 00:03:42 +00:00
HomeAssistant Azure
5007a9e702
[ci skip] Translation update
2020-04-18 00:04:07 +00:00
Robert Svensson
4484afc0d6
deCONZ - Always allow manual input of gateway ( #33951 )
...
* Always allow manual input of gateway
2020-04-17 23:51:35 +02:00
Paulus Schoutsen
0d60d40512
Update translations
2020-04-16 13:00:10 -07:00
Paulus Schoutsen
55dfca7467
Drop title from translations if brand name ( #34306 )
2020-04-16 12:52:53 -07:00
HomeAssistant Azure
0d8c75d9ce
[ci skip] Translation update
2020-04-16 00:04:36 +00:00
Paulus Schoutsen
1ffc3a00e7
Add translations check script ( #34272 )
2020-04-15 16:58:20 -07:00