Michael
67ef3229fd
Address late review comments for Tankerkoenig ( #72672 )
...
* address late review comment from #72654
* use entry_id instead of unique_id
* remove not needed `_hass` property
* fix skiping failing stations
* remove not neccessary error log
* set DeviceEntryType.SERVICE
* fix use entry_id instead of unique_id
* apply suggestions on tests
* add return value also to other tests
* invert data check to early return user form
2022-05-30 14:40:42 -07:00
Raman Gupta
f039aac31c
Fix zwave_js custom trigger validation bug ( #72656 )
...
* Fix zwave_js custom trigger validation bug
* update comments
* Switch to ValueError
* Switch to ValueError
2022-05-30 14:40:39 -07:00
BigMoby
4b524c0776
iAlarm XR integration refinements ( #72616 )
...
* fixing after MartinHjelmare review
* fixing after MartinHjelmare review conversion alarm state to hass state
* fixing after MartinHjelmare review conversion alarm state to hass state
* manage the status in the alarm control
* simplyfing return function
2022-05-30 14:40:38 -07:00
Duco Sebel
f41b2fa2cf
Fix homewizard diagnostics and add tests ( #72611 )
2022-05-30 14:40:37 -07:00
Paulus Schoutsen
6bf6a0f7bc
Convert media player enqueue to an enum ( #72406 )
2022-05-30 14:40:35 -07:00
Shawn Saenger
f33517ef2c
Incorporate various improvements for the ws66i integration ( #71717 )
...
* Improve readability and remove unused code
* Remove ws66i custom services. Scenes can be used instead.
* Unmute WS66i Zone when volume changes
* Raise CannotConnect instead of ConnectionError in validation method
* Move _verify_connection() method to module level
2022-05-30 14:40:35 -07:00
Michael
b360f0280b
Manage stations via integrations configuration in Tankerkoenig ( #72654 )
2022-05-28 20:46:36 -07:00
J. Nick Koston
bd222a1fe0
Prevent config entries from being reloaded concurrently ( #72636 )
...
* Prevent config entries being reloaded concurrently
- Fixes Config entry has already been setup when
two places try to reload the config entry at the
same time.
- This comes up quite a bit:
https://github.com/home-assistant/core/issues?q=is%3Aissue+sort%3Aupdated-desc+%22Config+entry+has+already+been+setup%22+is%3Aclosed
* Make sure plex creates mocks in the event loop
* drop reload_lock, already inherits
2022-05-28 20:46:34 -07:00
J. Nick Koston
c45dc49270
Escape % and _ in history/logbook entity_globs, and use ? as _ ( #72623 )
...
Co-authored-by: pyos <pyos100500@gmail.com>
2022-05-28 20:45:14 -07:00
Allen Porter
301f7647d1
Defer google calendar integration reload to a task to avoid races of reload during setup ( #72608 )
2022-05-28 20:45:13 -07:00
Allen Porter
79340f85d2
Don't import google calendar user pref for disabling new entities ( #72652 )
2022-05-28 20:44:50 -07:00
Paulus Schoutsen
afcc8679dd
Handle OAuth2 rejection ( #72040 )
2022-05-28 20:43:48 -07:00
J. Nick Koston
2e2fa208a8
Fix recorder system health when the db_url is lacking a hostname ( #72612 )
2022-05-27 11:36:42 -07:00
Paulus Schoutsen
07c7081ade
Revert "Add service entity context ( #71558 )" ( #72610 )
2022-05-27 11:36:42 -07:00
Erik Montnemery
087c0b59ed
Update integrations to pass target player when resolving media ( #72597 )
2022-05-27 11:36:40 -07:00
Erik Montnemery
ad65295201
Require passing target player when resolving media ( #72593 )
2022-05-27 11:36:39 -07:00
J. Nick Koston
9b779082d5
Fix memory leak when firing state_changed events ( #72571 )
2022-05-27 11:33:40 -07:00
Paulus Schoutsen
bd02c9e5b3
Attach SSL context to SMTP notify and IMAP sensor ( #72568 )
2022-05-27 11:33:38 -07:00
Paulus Schoutsen
f8e300ffbe
Include provider type in auth token response ( #72560 )
2022-05-27 11:33:37 -07:00
Raman Gupta
370e4c53f3
Add logbook entries for zwave_js events ( #72508 )
...
* Add logbook entries for zwave_js events
* Fix test
* Update homeassistant/components/zwave_js/logbook.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/zwave_js/logbook.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/zwave_js/logbook.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/zwave_js/logbook.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* black
* Remove value updated event
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-05-27 11:33:36 -07:00
Marcio Granzotto Rodrigues
e1ba0717e2
Fix bond device state with v3 firmwares ( #72516 )
2022-05-26 13:16:21 -07:00
jack5mikemotown
fa98b7e136
Fix Google Assistant brightness calculation ( #72514 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-05-26 13:16:20 -07:00
Raman Gupta
f038d0892a
Update node statistics for zwave_js device diagnostics dump ( #72509 )
2022-05-26 13:16:20 -07:00
J. Nick Koston
180b5cd2bb
Fix flux_led taking a long time to recover after offline ( #72507 )
2022-05-26 13:16:19 -07:00
J. Nick Koston
ff72c32b20
Fixes for logbook filtering and add it to the live stream ( #72501 )
2022-05-26 13:16:18 -07:00
Jan Bouwhuis
6bb78754dd
Move manual configuration of MQTT device_tracker to the integration key ( #72493 )
2022-05-26 13:16:18 -07:00
Erik Montnemery
f9d9c34018
Add hardkernel hardware integration ( #72489 )
...
* Add hardkernel hardware integration
* Remove debug prints
* Improve tests
* Improve test coverage
2022-05-26 13:16:17 -07:00
Allen Porter
d39de6e699
Throw nest climate API errors as HomeAssistantErrors ( #72474 )
2022-05-26 13:16:16 -07:00
Erik Montnemery
2bc093a04d
Hardware integration MVP ( #71677 )
2022-05-25 20:39:15 +02:00
Raman Gupta
fe3fa0ae17
Bump zwave-js-server-python to 0.37.0 ( #72395 )
2022-05-25 10:46:55 -07:00
Raman Gupta
c8c4bf6c37
Bypass dynamic validation for zwave_js custom triggers ( #72471 )
2022-05-25 19:20:40 +02:00
Raman Gupta
9b40de18cd
Allow zwave_js/network_status WS API to accept device or entry ID ( #72205 )
...
* Allow zwave_js/network_status WS API to accept device or entry ID
* Fix based on upstream feedback
* Fixt ests
* Fixes
2022-05-25 12:49:04 -04:00
BigMoby
42c80dda85
Create iAlarmXR integration ( #67817 )
...
* Creating iAlarmXR integration
* fixing after review code
* fixing remaining review hints
* fixing remaining review hints
* updating underlying pyialarm library
* Creating iAlarmXR integration
* fixing after review code
* fixing remaining review hints
* fixing remaining review hints
* updating underlying pyialarm library
* fixing after iMicknl review
* Improving exception handling
* Updating pyialarmxr library
* fixing after merge dev
* fixing after iMicknl review
* Update CODEOWNERS
Co-authored-by: Ludovico de Nittis <git@denittis.one>
* fixing iot_class
* Update homeassistant/components/ialarmxr/config_flow.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* fixing after bdraco review
* Update homeassistant/components/ialarmxr/config_flow.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* reverting catching exception in setup step
* Update homeassistant/components/ialarmxr/__init__.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* Update homeassistant/components/ialarmxr/__init__.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* fixing after bdraco suggestions
* Update homeassistant/components/ialarmxr/alarm_control_panel.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* Update homeassistant/components/ialarmxr/alarm_control_panel.py
Co-authored-by: Mick Vleeshouwer <mick@imick.nl>
* Update homeassistant/components/ialarmxr/config_flow.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* Update homeassistant/components/ialarmxr/config_flow.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* Update homeassistant/components/ialarmxr/__init__.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* Update homeassistant/components/ialarmxr/__init__.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* Update homeassistant/components/ialarmxr/utils.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* regenerate translation and rename function to async_get_ialarmxr_mac
* removing and collapsing unused error messages
* fixing tests
* improve code coverage in tests
* improve code coverage in tests
* improve code coverage in tests
* fixing retry policy with new pyalarmxr library
* snake case fix
* renaming integration in ialarm_xr
* renaming control panel name
Co-authored-by: Ludovico de Nittis <git@denittis.one>
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Mick Vleeshouwer <mick@imick.nl>
2022-05-25 10:52:06 +02:00
Austin Mroczek
5b896b315e
Add TotalConnect options flow to auto-bypass low battery ( #62458 )
...
* rebase
* use bypass option in async_setup_entry
* add test for options flow
* default to False for AUTO_BYPASS
* fix bypass defaults
2022-05-25 10:49:53 +02:00
Guido Schmitz
bf75cb3cc5
Improve tests of devolo_home_network ( #71873 )
...
* Improve tests
* Use entity_registry_enabled_by_default fixture
2022-05-25 10:36:09 +02:00
Lars
804c888098
Free color selection for Fritz!Smarthome lights ( #66213 )
...
* Fritz light free color selection
* Use setcolor as fallback
* better debug log message
Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
* change if-clause
Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2022-05-25 09:28:36 +02:00
Duco Sebel
88c49f034a
Use 'python-homewizard-energy' dependency for HomeWizard ( #71781 )
...
* Update requirement
* Remove aiohwenergy and use python-homewizard-energy
* Update test to work with python-homewizard-energy
* Bumb python-homewizard-energy to 1.0.3
2022-05-25 09:05:11 +02:00
Dave T
ce477e65ce
Render template during stream_url test for generic camera ( #69716 )
2022-05-25 09:02:48 +02:00
Allen Porter
71bc650ac7
Stop updating google_calendars.yaml if it does not already exist ( #72340 )
...
* Stop updating google_calendars.yaml if it does not already exist
* Add additional test coverage to make CI pass
* Add test for no updates to google_calendar.yaml
* Add parameter to test for expecting write calls
* Missing call argument
* Remove conditional and replace with inline assert
2022-05-25 08:59:27 +02:00
RoboMagus
c1ddde3764
Check if attributes are present in new_state before accessing them ( #71967 )
...
* Check if attributes are present in new_state before accessing them.
* Early return if new state is None|Unknown|Unavailable
* Removed whitespace at line endings. +black run
* Update test for coverage
2022-05-25 08:44:08 +02:00
Guido Schmitz
5dfeb1e02a
Allow removing devices in devolo_home_control ( #72190 )
...
Allow removing devices
2022-05-25 08:39:05 +02:00
Raman Gupta
eb7a521232
Fix more typing for zwave_js ( #72472 )
...
* Fix more typing for zwave_js
* Revert one change
* reduce lines
* Fix tests
2022-05-25 07:50:25 +02:00
Robert Svensson
e60b247b51
Simplify setup of deCONZ platforms ( #72453 )
2022-05-24 20:48:09 -07:00
Kevin Stillhammer
e4cd04f936
Use length_util for here_travel_time ( #72458 )
2022-05-24 20:42:37 -07:00
Raman Gupta
352b7e86af
Move zwave_js node metadata comments to separate WS API cmd ( #71513 )
...
* Move zwave_js node metadata comments to separate WS API cmd
* fix pr
2022-05-24 22:11:43 -04:00
rforro
db815a7504
ZHA Add entities for Lidl water valve quirk ( #72307 )
...
* init
* added timer number entity
* added write attribute button entity
* fixed missed errors
* minor changes & fixed failing test
* removed icon
* unit and icons
2022-05-24 19:56:03 -04:00
rforro
0c2f22d478
Add configurable zha switch entity ( #71784 )
...
* add configurable zha switch entity
* final zha configurable switch
* fix codecov
* replaced errorneous cluster with local quirk
* test fix
* minor changes
2022-05-24 19:43:35 -04:00
Martin Hjelmare
f7475a5bdb
Clean zwave_js entity driver access ( #72427 )
2022-05-24 17:52:07 -04:00
rikroe
cd769a55c2
Update BMW connected drive to async ( #71827 )
...
* Change BMW connected drive to async
* Fix coordinator exceptions, fix tests
* Fix using deprecated property
* Write HA state directly
* Remove code that cannnot throw Exceptions from try/except
* Use public async_write_ha_state
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Fix login using refresh_token if token expired
* MyPy fixes
* Fix pytest, bump dependency
* Replace OptionFlow listener with explicit refresh
* Remove uneeded async_get_entry
* Update test to include change on OptionsFlow
* Bump bimmer_connected to 0.9.0
* Migrate renamed entitity unique_ids
* Don't replace async_migrate_entries, add tests
* Rename existing_entry to existing_entry_id
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update tests
* Import full EntityRegistry
* Fix comment
* Increase timeout to 60s
* Rely on library timeout
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-05-24 21:44:18 +02:00
epenet
f33151ff8b
Adjust config-flow type hints in unifi ( #72411 )
...
* Adjust config-flow type hints in unifi
* Use mapping
* Use mapping
* Fix tests
* Fix tests
* Revert "Use mapping"
This reverts commit 126fedc848
.
2022-05-24 21:42:11 +02:00