Michael
8c34067f17
Fix creating unique IDs for WiFi switches in Fritz!Tools ( #73183 )
2022-06-07 16:11:38 -07:00
Christopher Bailey
1bc9867940
Bump version of pyunifiprotect to 3.9.0 ( #73168 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-06-07 08:19:39 -10:00
Maciej Bieniek
0b5c0f8249
Bump `nam` backend library ( #72771 )
...
* Update config flow
* Fix discovery with auth
* Call check_credentials() on init
* Update tests
* Bump library version
* Cleaning
* Return dataclass instead of tuple
* Fix pylint error
2022-06-07 06:56:11 -10:00
David F. Mulcahey
a5dc7c5f28
Add logbook describe event support to ZHA ( #73077 )
2022-06-07 06:49:40 -10:00
uvjustin
73f2bca377
Make Stream.stop() async ( #73107 )
...
* Make Stream.start() async
* Stop streams concurrently on shutdown
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-06-08 00:10:53 +08:00
Maciej Bieniek
c6b835dd91
Add missing `state_class` to min_max sensors ( #73169 )
...
Add missing state_class
2022-06-07 17:02:12 +02:00
Erik Montnemery
5f2b4001f3
Separate recorder database schema from other classes ( #72977 )
...
* Separate recorder database schema from other classes
* fix logbook imports
* migrate new tests
* few more
* last one
* fix merge
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-06-07 14:41:43 +02:00
BigMoby
0c21bf7c25
Remove iAlarm XR integration ( #73083 )
...
* 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
* Removing iAlarm XR integration because of Antifurto365 explicit request to remove after some issues in their cloud service
2022-06-06 22:23:10 -07:00
J. Nick Koston
de2e9b6d77
Fix state_changes_during_period history query when no entities are passed ( #73139 )
2022-06-06 12:50:52 -07:00
J. Nick Koston
0b62944148
Mark counter domain as continuous to exclude it from logbook ( #73101 )
2022-06-05 21:25:26 -10:00
J. Nick Koston
457c7a4ddc
Fix incompatiblity with live logbook and google_assistant ( #73063 )
2022-06-05 19:06:49 -10:00
G Johansson
7536586bed
Add binary sensors for Pure devices Boost Config ( #73032 )
2022-06-05 18:58:48 -10:00
J. Nick Koston
6b2e5858b3
Send an empty logbook response when all requested entity_ids are filtered away ( #73046 )
2022-06-05 21:14:47 -07:00
J. Nick Koston
c66b000d34
Reduce branching in generated lambda_stmts ( #73042 )
2022-06-05 21:13:31 -07:00
hesselonline
9ea504dd7b
Bump wallbox to 0.4.9 ( #72978 )
2022-06-05 15:31:09 -10:00
J. Nick Koston
cac84e4160
Add config flow to radiotherm ( #72874 )
2022-06-05 13:59:52 -10:00
Robert Hillis
a502a8798f
Add config flow to skybell ( #70887 )
2022-06-04 16:37:08 -10:00
G Johansson
a1b372e4ca
Minor fixes Trafikverket Train ( #72996 )
...
* Minor fixes Trafikverket Train
* Remove ConfigEntryAuthFailed
2022-06-04 12:37:39 +02:00
Allen Porter
9d933e732b
Remove google scan_for_calendars service and simplify platform setup ( #73010 )
...
* Remove google scan_for_calendars service and simplify platform setup
* Update invalid calendar yaml test
2022-06-03 21:56:53 -07:00
Allen Porter
bdc41bf22a
Fix google calendar bug where expired tokens are not refreshed ( #72994 )
2022-06-03 16:33:12 -07:00
J. Nick Koston
8e8fa0399e
Fix statistics_during_period being incorrectly cached ( #72947 )
2022-06-03 13:04:46 -07:00
G Johansson
8d0dd1fe8c
Config flow for scrape integration ( #70476 )
2022-06-03 09:24:04 -10:00
G Johansson
5ee2f4f438
Sensibo Set temperature improvement ( #72992 )
2022-06-03 09:11:57 -10:00
starkillerOG
6cadd4f665
MotionBlinds use device_name helper ( #72438 )
...
* use device_name helper
* fix typo
* fix import
* fix isort
* add gateway_test
* implement gateway test
* correct test blind mac
2022-06-03 15:33:43 +02:00
w35l3y
beab6e2e5f
Fix ended session when there isn't any response from the user ( #72218 )
...
* Fix end session when there isn't any response
This PR fixes #72153
* Added test case as requested
https://github.com/home-assistant/core/pull/72218#discussion_r881584812
2022-06-03 15:32:22 +02:00
Allen Porter
3a8a816584
Cleanup nest config flow tests to use common setup fixtures ( #72878 )
...
* Cleanup nest config flow tests to use common setup
* Remove some conditionals in test setup
2022-06-02 21:42:52 -07:00
J. Nick Koston
5b31414225
Fix misalignments between sql based filtering with the entityfilter based filtering ( #72936 )
2022-06-02 20:52:53 -07:00
Khole
a4c3585448
Fix Hive authentication ( #72929 )
2022-06-02 14:54:26 -07:00
Erik Montnemery
b97d346df7
Fix reload of MQTT yaml config ( #72901 )
2022-06-02 11:32:31 -07:00
J. Nick Koston
d3b1896a06
Only present history_stats state as unknown if the time is in the future ( #72880 )
2022-06-02 08:39:53 -07:00
J. Nick Koston
f1a31d8d33
Add support for async_remove_config_entry_device to unifiprotect ( #72742 )
...
* Add support for async_remove_config_entry_device to unifiprotect
* tweaks
* tweaks
* more cleanups
* more cleanups
* fix unhelpful auto import
* add coverage
* fix mac formatting
* collapse logic
2022-06-02 08:26:08 -07:00
Matrix
9192d0e972
Bump yolink-api to 0.0.6 ( #72903 )
...
* Bump yolink-api to 0.0.6
* update testcase
2022-06-02 17:21:22 +02:00
Jan Bouwhuis
52561ce076
Update MQTT tests to use the config entry setup ( #72373 )
...
* New testframework and tests for fan platform
* Merge test_common_new to test_common
* Add alarm_control_panel
* Add binary_sensor
* Add button
* Add camera
* Add climate
* Add config_flow
* Add cover
* Add device_tracker_disovery
* Add device_trigger
* Add diagnostics
* Add discovery
* Add humidifier
* Add init
* Add lecacy_vacuum
* Add light_json
* Add light_template
* Add light
* Add lock
* Add number
* Add scene
* Add select
* Add sensor
* Add siren
* Add state_vacuum
* Add subscription
* Add switch
* Add tag
* Add trigger
* Add missed tests
* Add another missed test
* Add device_tracker
* Remove commented out code
* Correct tests according comments
* Improve mqtt_mock_entry and recover tests
* Split fixtures with and without yaml setup
* Update fixtures manual_mqtt
* Update fixtures mqtt_json
* Fix test tasmota
* Update fixture mqtt_room
* Revert fixture changes, improve test
* re-add test
2022-06-02 14:24:46 +02:00
Guido Schmitz
219200b340
Fix test_hass_stop in devolo Home Network ( #72833 )
...
Fix test_hass_stop
2022-06-02 13:59:29 +02:00
Marc Mueller
62a5854e40
Fix bare except ( #72906 )
2022-06-02 13:58:04 +02:00
Raman Gupta
6ccaf33bdf
Attempt to fix flaky tomorrowio test ( #72890 )
...
* Fix flaky tomorrowio test
* reset mock outside context manager
* add to hass outside of context manager
2022-06-02 03:16:00 -04:00
J. Nick Koston
f79e5e002b
Ensure recorder shuts down when its startup future is canceled out from under it ( #72866 )
2022-06-01 22:13:09 -07:00
J. Nick Koston
c6e56c26b3
Fix logbook not setting up with an recorder filter that has empty fields ( #72869 )
2022-06-01 22:12:00 -07:00
Aidan Timson
2ba45a9f99
System Bridge 3.x.x ( #71218 )
...
* Change to new package and tcp
* Rework integration pt1
* Show by default
* Handle auth error
* Use const
* New version avaliable (to be replaced in future by update entity)
* Remove visible
* Version latest
* Filesystem space use
* Dev package
* Fix sensor
* Add services
* Update package
* Add temperature and voltage
* GPU
* Bump package version
* Update config flow
* Add displays
* Fix displays connected
* Round to whole number
* GPU fan speed in RPM
* Handle disconnections
* Update package
* Fix
* Update tests
* Handle more errors
* Check submodule and return missing uuid in test
* Handle auth error on config flow
* Fix test
* Bump package version
* Handle key errors
* Update package to release version
* Client session in config flow
* Log
* Increase timeout and use similar logic in config flow to init
* 30 secs
* Add test for timeout error
* Cleanup logs
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update tests/components/system_bridge/test_config_flow.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* uuid raise specific error
* Type
* Lambda to functions for complex logic
* Unknown error test
* Bump package to 3.0.5
* Bump package to 3.0.6
* Use typings from package and pydantic
* Use dict()
* Use data listener function and map to models
* Use passed module handler
* Use lists from models
* Update to 3.1.0
* Update coordinator to use passed module
* Improve coordinator
* Add debug
* Bump package and avaliable -> available
* Add version check
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-06-01 23:54:22 +02:00
Rami Mosleh
74e2d5c5c3
Remove deprecated YAML for `transmission` ( #72832 )
2022-06-01 17:25:49 +02:00
J. Nick Koston
5d2326386d
Fix logbook spinner never disappearing when all entities are filtered ( #72816 )
2022-06-01 12:33:46 +02:00
J. Nick Koston
d8b0376942
Fix purge of legacy database events that are not state changed ( #72815 )
2022-06-01 11:56:06 +02:00
epenet
1aeba8a9bd
Use Mapping for async_step_reauth in discord ( #72812 )
...
* Fix tests
* Cleanup code accordingly
2022-06-01 09:44:22 +02:00
Erik Montnemery
9ac0c5907f
Add test for mikrotik device tracker with numerical device name ( #72808 )
...
Add mikrotik test for numerical device name
2022-06-01 09:39:56 +02:00
epenet
a6db25219d
Use Mapping for async_step_reauth in motioneye ( #72769 )
2022-06-01 06:58:29 +02:00
Raman Gupta
394442e8a9
Use device_id for zwave_js/replace_failed_node command ( #72785 )
2022-06-01 06:42:07 +02:00
Erik Montnemery
44f332ed5f
Improve cast HLS detection ( #72787 )
2022-05-31 20:35:56 -07:00
Michael
3258d572b0
Add re-auth flow to Tankerkoenig ( #72682 )
...
* add reauth flow
* add test
* use Mapping for async_step_reauth arguments
* only update changed data
* improve tests
* use different api key to test reauth
2022-05-31 23:46:12 +02:00
J. Nick Koston
c365454afb
Revert "Initial orjson support ( #72754 )" ( #72789 )
...
This was causing the wheels to fail to build. We need
to workout why when we don't have release pressure
This reverts commit d9d22a9556
.
2022-05-31 13:51:55 -07:00
J. Nick Koston
35ee4ad55b
Prevent live logbook from sending state changed events when we only want device ids ( #72780 )
2022-05-31 13:08:04 -07:00
J. Nick Koston
d9d22a9556
Initial orjson support ( #72754 )
2022-05-31 12:18:11 -07:00
Malte Franken
638992f9c4
Make zone condition more robust by ignoring unavailable and unknown entities ( #72751 )
...
* ignore entities with state unavailable or unknown
* test for unavailable entity
2022-05-31 11:34:52 -07:00
Khole
a53aaf696c
Fix hive authentication process ( #72719 )
...
* Fix hive authentication process
* Update hive test scripts to add new data
2022-05-31 08:55:00 -07:00
Erik Montnemery
78cb0e24bc
Improve integration sensor's time unit handling ( #72759 )
2022-05-31 15:51:38 +02:00
Martin Hjelmare
8140ed724c
Remove mysensors yaml ( #72761 )
2022-05-31 15:22:31 +02:00
epenet
ca5f13b576
Allow removing a onewire device ( #72710 )
2022-05-31 10:40:08 +02:00
Erik Montnemery
635d7085cf
Move MQTT config schemas and client to separate modules ( #71995 )
...
* Move MQTT config schemas and client to separate modules
* Update integrations depending on MQTT
2022-05-31 09:32:44 +02:00
Paulus Schoutsen
99f3ca1f08
Add support for announce to play_media ( #72566 )
2022-05-30 20:41:05 -07:00
J. Nick Koston
587fd05603
Make logbook inherit the recorder filter ( #72728 )
2022-05-30 17:34:32 -07:00
Duco Sebel
59f155b482
Fix homewizard diagnostics and add tests ( #72611 )
2022-05-30 14:37:28 -07:00
J. Nick Koston
3399be2dad
Retry bond setup when zeroconf discovery happens ( #72687 )
2022-05-30 18:41:07 +02:00
epenet
640f53ce21
Remove YAML configuration from upnp ( #72410 )
2022-05-30 17:07:18 +02:00
epenet
57ed667257
Remove YAML configuration from nzbget ( #72424 )
2022-05-30 16:46:55 +02:00
jjlawren
30e71dd96f
Add support for Sonos loudness switch ( #72572 )
2022-05-30 16:09:14 +02:00
Rami Mosleh
dd5b1681e7
Remove YAML configuration from mikrotik ( #72581 )
2022-05-30 15:34:28 +02:00
Erik Montnemery
84243cf560
Tweak MQTT hassio discovery flow ( #72699 )
2022-05-30 14:25:36 +02:00
Erik Montnemery
342ccb5bf1
Improve handling of MQTT overridden settings ( #72698 )
...
* Improve handling of MQTT overridden settings
* Don't warn unless config entry overrides yaml
2022-05-30 14:21:20 +02:00
Joakim Sørensen
3a0111e65d
Use supervisor envs instead of hassio ( #72601 )
2022-05-30 12:00:13 +02:00
Erik Montnemery
c8f677ce4c
Bump hatasmota to 0.5.1 ( #72696 )
2022-05-30 11:40:36 +02:00
J. Nick Koston
1c334605b6
Enable strict typing to emulated_hue ( #72676 )
...
* Add typing to emulated_hue part 2
* cleanups
* adjust targets in test
2022-05-30 08:49:37 +02:00
BigMoby
6e355e1074
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 08:26:05 +02:00
Michael
1ed7e226c6
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-29 20:57:47 +02:00
Shawn Saenger
1d57626ff0
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-29 18:33:33 +02:00
Raman Gupta
5031c3c8b4
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-29 18:30:00 +02:00
Raman Gupta
92be8b4f8e
Make tomorrowio API rate limit handling more robust ( #70412 )
...
* Use the max request limit when setting tomorrowio update interval
* tests
* reduce lines
* simplify
* refactor
* Make Coordinator.async_setup_entry more efficient at determining when to refresh data and schedule refresh
* clean up
* clean up
* Remove unnecessary type definition
* typo
* fix logic ot be more deterministic
* Another fix
* Comment
* Reduce wasted API calls by doing partial updates when new entries get added with a new key
* Simplify and use asyncio event so that config entries only load after initial coordinator refresh
* Remove commented out piece
* Comment
* Remove unnecessary variable
* More cleanup
* Make future merge easier
* remove dupe
* switch order
* add comment
* Remove unnecessary error handling
* make code easier to read
* review feedback for code
* Fix logic
* Update test based on review
* Tweak comments
* reset mock so asertions are more clear
* Remove update interval check
2022-05-29 18:29:21 +02:00
J. Nick Koston
237ef6419b
Add basic typing to emulated_hue ( #72663 )
...
* Add basic typing to emulated_hue
* type a few more places
* fixes
* numbers are always stringified
* numbers are always stringified
* coverage
* drop assert
2022-05-29 18:27:32 +02:00
Allen Porter
e7e48cd9f6
Defer google calendar integration reload to a task to avoid races of reload during setup ( #72608 )
2022-05-28 20:28:22 -07:00
J. Nick Koston
7d391846ff
Retry right away on discovery for WiZ ( #72659 )
2022-05-28 16:38:38 -10:00
Chris Talkington
46031aff8d
Avoid swallowing Roku errors ( #72517 )
2022-05-28 21:03:13 -05:00
G Johansson
24c34c0ef0
Strict typing Sensibo ( #72454 )
2022-05-28 13:26:50 -10:00
Michael
a4f678e7c9
Manage stations via integrations configuration in Tankerkoenig ( #72654 )
2022-05-28 13:31:03 -07:00
Allen Porter
a598cdfeb3
Don't import google calendar user pref for disabling new entities ( #72652 )
2022-05-28 12:51:40 -07:00
J. Nick Koston
e0614953a2
Add support for async_remove_config_entry_device to homekit_controller ( #72630 )
2022-05-28 09:47:14 -10:00
J. Nick Koston
4a5679db08
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 10:49:55 +02:00
J. Nick Koston
a43d47fa0b
Escape % and _ in history/logbook entity_globs, and use ? as _ ( #72623 )
...
Co-authored-by: pyos <pyos100500@gmail.com>
2022-05-27 14:38:29 -07:00
J. Nick Koston
040e120101
Fix recorder system health when the db_url is lacking a hostname ( #72612 )
2022-05-27 10:32:26 -07:00
Paulus Schoutsen
a733b92389
Include provider type in auth token response ( #72560 )
2022-05-27 10:31:48 -07:00
Erik Montnemery
47d0cc9b09
Update integrations to pass target player when resolving media ( #72597 )
2022-05-27 09:05:06 -07:00
Erik Montnemery
f76afffd5a
Require passing target player when resolving media ( #72593 )
2022-05-27 08:40:55 -07:00
Erik Montnemery
5ca82b2d33
Migrate zha light to color_mode ( #70970 )
...
* Migrate zha light to color_mode
* Fix restoring color mode
* Correct set operations
* Derive color mode from group members
* Add color mode to color channel
* use Zigpy color mode enum
Co-authored-by: David Mulcahey <david.mulcahey@me.com>
2022-05-27 15:38:22 +02:00
jjlawren
9cd9d06bcc
Avoid network activity during Plex tests ( #72499 )
2022-05-27 09:46:22 +02:00
Paulus Schoutsen
cbd0c8976b
Attach SSL context to SMTP notify and IMAP sensor ( #72568 )
2022-05-26 22:15:20 -07:00
J. Nick Koston
a526b2b819
Add support for async_remove_config_entry_device to bond ( #72511 )
2022-05-26 18:15:56 -10:00
Raman Gupta
5e52b11050
Add additional data to zwave_js device statistics WS API ( #72520 )
...
* Add additional data to zwave_js device statistics WS API
* Rename variables
* fix logic
* correct typehint
* Update homeassistant/components/zwave_js/api.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* black
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-05-26 19:21:50 -04:00
Raman Gupta
d8295e2fad
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-26 19:20:05 -04:00
Paulus Schoutsen
86570fba19
Convert media player enqueue to an enum ( #72406 )
2022-05-26 13:57:00 -07:00
Erik Montnemery
0cca73fb23
Add hardkernel hardware integration ( #72489 )
...
* Add hardkernel hardware integration
* Remove debug prints
* Improve tests
* Improve test coverage
2022-05-26 13:15:44 -07:00
Paulus Schoutsen
ff3374b4e0
Use modern WS API for auth integration + add auth provider type to refresh token info ( #72552 )
2022-05-26 13:06:34 -07:00
Jan Bouwhuis
d092861926
Move manual configuration of MQTT device_tracker to the integration key ( #72493 )
2022-05-26 13:02:39 -07:00
jack5mikemotown
b91a1c1b0a
Fix Google Assistant brightness calculation ( #72514 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-05-26 13:01:23 -07:00
Erik Montnemery
d1578aacf2
Improve raspberry_pi tests ( #72557 )
2022-05-26 21:41:17 +02:00
rappenze
f82ec4d233
Address issues from late review in fibaro config flow tests ( #72553 )
2022-05-26 20:52:30 +02:00
Raman Gupta
3a998f1d46
Update node statistics for zwave_js device diagnostics dump ( #72509 )
2022-05-26 03:03:43 -04:00
Marcio Granzotto Rodrigues
c1f62d03a0
Fix bond device state with v3 firmwares ( #72516 )
2022-05-25 18:12:43 -10:00
J. Nick Koston
3537fa1dab
Fix flux_led taking a long time to recover after offline ( #72507 )
2022-05-25 17:02:21 -10:00
J. Nick Koston
bfa7693d18
Fixes for logbook filtering and add it to the live stream ( #72501 )
2022-05-25 15:17:08 -10:00
Allen Porter
c181af92a2
Throw nest climate API errors as HomeAssistantErrors ( #72474 )
2022-05-25 13:00:48 -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
Steven Looman
2e36a79357
Changes after late upnp review ( #72241 )
...
* Changes after review of #70008 , part 1
* Changes after review from #70008
* Revert to UpnpDataUpdateCoordinator._async_update_data
2022-05-24 21:37:37 +02:00
epenet
6245d28907
Remove YAML configuration from vicare ( #72408 )
2022-05-24 20:28:09 +02:00
Franck Nijhof
652892e535
Do not swallow WLED errors ( #72407 )
2022-05-24 16:30:41 +02:00
Robert Svensson
dc0d065901
Fix UniFi device tracker on controllers only reporting events ( #72240 )
...
Add events to UniFi client tracker in case controller does not report proper data
2022-05-24 16:06:30 +02:00
Erik Montnemery
23bd64b7a2
Prevent duplication of statistics metadata ( #71637 )
...
* Prevent duplication of statistics metadata
* Add models_schema_28.py
* Handle entity renaming as a recorder job
* Improve tests
2022-05-24 15:34:46 +02:00
epenet
cc162bf691
Remove YAML configuration from Jandy iAqualink ( #72404 )
2022-05-24 10:49:05 +02:00
Paulus Schoutsen
3cd398a5bd
Warn for old Google SDK version ( #72403 )
2022-05-24 10:26:25 +02:00
Eric Severance
f0b9aa7894
Bump pywemo==0.8.1 ( #72400 )
2022-05-24 09:53:01 +02:00
J. Nick Koston
1c25e1d7b1
Add metadata to logbook live stream websocket endpoint ( #72394 )
2022-05-23 22:37:47 -07:00
J. Nick Koston
9d95b9ab05
Chunk large logbook queries and add an end_time to the api so we stop sending events ( #72351 )
2022-05-23 15:40:00 -07:00
J. Nick Koston
0248a8710f
Always pass the source of the trigger for logbook context messages ( #72333 )
2022-05-23 13:35:45 -05:00
Allen Porter
f6370d0522
Add Honeywell Lyric application credentials platform and deprecate configuration in yaml ( #72335 )
...
Add Honeywell Lyric application credentials platform and deprecate config yaml
2022-05-23 20:16:21 +02:00
Eric Severance
92582beeff
Use properties of wemo Maker device ( #72378 )
2022-05-23 19:28:16 +02:00
Eric Severance
e2a80e7a45
Remove unnecessary class from wemo test_fan ( #72377 )
2022-05-23 19:02:42 +02:00
Joakim Sørensen
f90effc299
Add agent version to Supervisor system health ( #72360 )
...
Co-authored-by: Stefan Agner <stefan@agner.ch>
2022-05-23 09:22:49 -07:00
Guido Schmitz
5b4fdb081e
Add climate tests for devolo_home_control ( #72230 )
2022-05-23 17:24:28 +02:00
Kevin Stillhammer
967f4efc56
Cleanup config flow and tests for here_travel_time ( #72364 )
2022-05-23 16:50:05 +02:00
Jan Bouwhuis
d0556e6dd1
Move manual configuration of MQTT sensor to the integration key ( #72276 )
...
Add sensor
2022-05-23 16:29:45 +02:00
Robert Hillis
204e26a1b5
Warn user if Steam friends list is restricted ( #72285 )
2022-05-23 16:11:17 +02:00
Allen Porter
dc76cce96b
Add SENZ application credentials platform ( #72338 )
2022-05-23 14:44:45 +02:00
Kevin Stillhammer
9763b44357
Remove uneeded patch statements in here_travel_time ( #72361 )
2022-05-23 14:38:40 +02:00
mkmer
071f6d7099
Aladdin connect unload cleanup ( #71948 )
2022-05-23 14:13:21 +02:00
Bouwe Westerdijk
e17a653cf0
Bump plugwise to v0.18.4 ( #72263 )
2022-05-23 10:59:10 +02:00
Jan Bouwhuis
bc6451bd64
Move manual configuration of MQTT select to the integration key ( #72274 )
...
Add select
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-05-23 10:08:44 +02:00
Jan Bouwhuis
673f43fbec
Move manual configuration of MQTT scene to the integration key ( #72273 )
...
Add scene
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-05-23 09:04:03 +02:00
Eric Severance
cf5e21a996
Use properties of wemo Insight device ( #72316 )
2022-05-23 08:43:42 +02:00
Jan Bouwhuis
c4893f96f6
Move manual configuration of MQTT siren to the integration key ( #72278 )
...
Add siren
2022-05-23 08:08:08 +02:00
Jan Bouwhuis
623abb1147
Move manual configuration of MQTT number to the integration key ( #72272 )
...
Add number
2022-05-23 08:03:09 +02:00
uvjustin
c2612d1ade
Remove cache control headers from stream ( #71996 )
2022-05-23 13:56:26 +08:00
uvjustin
79fb5e1bec
Add use wallclock as timestamps option to onvif ( #71983 )
2022-05-23 13:54:49 +08:00
J. Nick Koston
4dbc1ed7a7
Add dialect (database engine) and version to recorder system health data ( #72339 )
2022-05-22 21:29:30 -07:00
Kevin Stillhammer
7649adde5f
Fix here_travel_time config_flow import ( #72313 )
...
* Handle import of entity_namespace
* Update homeassistant/components/here_travel_time/config_flow.py
Co-authored-by: Allen Porter <allen.porter@gmail.com>
* Fix mypy
Co-authored-by: Allen Porter <allen.porter@gmail.com>
2022-05-22 18:41:54 -07:00
Allen Porter
39ce25f76d
Add Withings application_credentials platform ( #71990 )
...
* Add Withings application_credentials platform
* Update withings auth implementation
2022-05-22 14:30:57 -07:00
Allen Porter
e6ffae8bd3
Deprecate google calendar configuration.yaml ( #72288 )
...
* Deprecate google calendar configuration.yaml
* Remove unused translations
* Enable strict type checking and address pr feedback
* Move default hass.data init to `async_setup`
2022-05-22 14:29:11 -07:00
J. Nick Koston
9c3f949165
Add live streaming logbook websocket endpoint ( #72258 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-05-22 14:57:54 -05:00
Andre Lengwenus
ead6e7da1f
Purge entity and device registries when importing lcn from configuration.yaml ( #54266 )
...
* Identify LCN orphans in entity registry and device registry and remove them
* Fix typing issues
* Revert "Fix typing issues"
This reverts commit eccd067b3b5f23135e6c8a79d25f7f2cbc2d0ae9.
* Fix removal of devices which do not belong to given config_entry
* Use helper for getting entities for config_entry
* Rename variable
2022-05-22 18:59:44 +02:00
Jan Bouwhuis
4153edbcdd
Move manual configuration of MQTT humidifier to the integration key ( #72270 )
...
Add humidifier
2022-05-22 13:07:49 +02:00
Jan Bouwhuis
3c3e394972
Move manual configuration of MQTT cover to the integration key ( #72268 )
...
Add cover
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-05-22 13:07:14 +02:00
Jan Bouwhuis
87d895929f
Move manual configuration of MQTT switch to the integration key ( #72279 )
...
Add switch
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-05-22 13:06:49 +02:00
Jan Bouwhuis
e8664ce1ae
Move manual configuration of MQTT climate to the integration key ( #72251 )
...
Add climate
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-05-22 11:28:10 +02:00
Jan Bouwhuis
d1afbbfb09
Move manual configuration of MQTT vacuum to the integration key ( #72281 )
...
Add vacuum
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-05-22 11:27:25 +02:00
Christopher Bailey
654c59c194
Add diagnostics for UniFi Protect ( #72280 )
2022-05-21 18:35:27 -05:00
xLarry
abf9aab18f
Add laundrify integration ( #65090 )
...
* First version of laundrify integration
* Code cleanup
* Code cleanup after review #2
* Move coordinator to its own file
* Save devices as dict and implement available prop as fn
* Validate token on init, abort if already configured
* Some more cleanup after review
* Add strict type hints
* Minor changes after code review
* Remove OptionsFlow (use default poll interval instead)
* Fix CODEOWNERS to pass hassfest job
* Fix formatting to pass prettier job
* Fix mypy typing error
* Update internal device property after fetching data
* Call parental update handler and remove obsolete code
* Add coordinator tests and fix some config flow tests
* Refactor tests
* Refactor fixtures
* Device unavailable if polling fails
2022-05-21 15:18:01 -04:00
Allen Porter
3f8c896cb2
Set user friendly name for Google Calendar config entry ( #72243 )
...
* Set user friendly name for Google Calendar config entry
* Add a new auth implementation for use during the config flow
2022-05-21 20:22:27 +02:00
Jan Bouwhuis
17669a728c
Move manual configuration of MQTT lock to the integration key ( #72271 )
...
Add lock
2022-05-21 19:07:26 +02:00
Jan Bouwhuis
809808dd80
Move manual configuration of MQTT camera to the integration key ( #72249 )
...
Add camera
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-05-21 19:04:36 +02:00
Kevin Stillhammer
f1ac9f8cca
Add ConfigFlow for here_travel_time ( #69212 )
...
* Add ConfigFlow for here_travel_time
* Use Selectors and Menu
* Use separate config flow steps for menus
* Move time options together
* Update homeassistant/components/here_travel_time/config_flow.py
Co-authored-by: Allen Porter <allen.porter@gmail.com>
* Blacken config_flow
* Initialize _config
* Only catch HERE errors
* Fix unknown error test
* Implement async_step_import
* Only catch errors for validate_api_key
* Split lat/lon
* Add additional test coverage
* Use TimeSelector in option flow
* Assert config entry data/option
Co-authored-by: Allen Porter <allen.porter@gmail.com>
2022-05-21 07:36:02 -07:00
Jan Bouwhuis
17588c39a4
Move manual configuration of MQTT binary_sensor to the integration key ( #72183 )
...
Add binary_sensor
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-05-21 16:14:24 +02:00
Jan Bouwhuis
3918059033
Move manual configuration of MQTT button to the integration key ( #72167 )
...
Add button
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-05-21 09:54:51 +02:00
Christopher Bailey
267266c7c3
Adds UP Chime support for UniFi Protect ( #71874 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-20 15:16:01 -05:00
jrester
ad5dbae425
Fix reauthentication for powerwall integration ( #72174 )
2022-05-20 14:53:43 -05:00
J. Nick Koston
e9c861f2b2
Add support for cover positions in bond ( #72180 )
2022-05-20 07:49:26 -07:00
Allen Porter
775be354a6
Cleanup nest async methods that do not need to actually await ( #72170 )
...
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-05-20 07:47:18 -07:00
J. Nick Koston
d459a5c66e
Include context state in logbook responses to improve localization ( #72222 )
...
* Include context state in logbook responses to improve localization
* reduce payload, dont send context_event_type if sending context_state
2022-05-20 07:46:01 -07:00
Shay Levy
74e8b076e5
Fix Shelly missing key config flow ( #72116 )
2022-05-20 12:05:53 +03:00
Jan Bouwhuis
654b095498
Move manual configuration of MQTT alarm control panel to the integration key ( #72165 )
...
Add alarm_control_panel
2022-05-20 08:37:53 +02:00
Raman Gupta
5f7594268a
Switch zwave_js firmware upload view to use device ID ( #72219 )
...
* Switch zwave_js firmware upload view to use device ID
* Store device registry in view
2022-05-20 01:50:13 -04:00
J. Nick Koston
7cad1571a2
Describe hue events in the logbook ( #72220 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-05-19 22:21:09 -07:00
Allen Porter
c028db00de
Add Neato application credentials platform and deprecate configuration.yaml ( #72175 )
2022-05-19 21:22:37 -07:00
J. Nick Koston
1001f9e39a
Fix last state in history minimal respones when all the states at the end are skipped ( #72203 )
2022-05-19 20:58:32 -07:00
Christopher Bailey
5c2c602686
Bumps pyunifiprotect to 3.6.0 ( #72188 )
2022-05-19 20:34:58 -05:00
Raman Gupta
68b278d170
Remove legacy zwave migration logic ( #72206 )
...
* Remove legacy zwave migration logic
* Update test_migrate.py
2022-05-19 18:29:28 -04:00
Raman Gupta
487819bbe5
Use device ID as input for zwave_js WS device cmds ( #71667 )
...
* Use device ID as input for zwave_js WS device cmds
* Additionally missed commands, update network_status command to include node status data
* revert change to removed function
* Revert register device change
2022-05-19 13:31:24 -04:00
J. Nick Koston
1c4c0f1eb3
Small fixes and cleanups to legacy nexia code ( #72176 )
2022-05-19 11:50:54 -05:00
J. Nick Koston
f06f94ea85
Add coverage to ensure we reject 0 length logbook filters ( #72124 )
2022-05-19 08:59:06 -07:00
Jan Bouwhuis
ed1c2ea2b8
Move manual configuration of MQTT fan and light to the integration key ( #71676 )
...
* Processing yaml config through entry setup
* Setup all platforms
* Update homeassistant/components/mqtt/__init__.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* adjust mock_mqtt - reference config from cache
* Fix test config entry override
* Add tests yaml setup
* additional tests
* Introduce PLATFORM_SCHEMA_MODERN
* recover temporary MQTT_BASE_PLATFORM_SCHEMA
* Allow extra key in light base schema, restore test
* Fix test for exception on platform key
* One deprecation message per platform
* Remove deprecation checks from modern schema
* Update homeassistant/components/mqtt/fan.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Update homeassistant/components/mqtt/fan.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Update homeassistant/components/mqtt/light/__init__.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Update homeassistant/components/mqtt/light/__init__.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Update homeassistant/components/mqtt/light/schema_json.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Update homeassistant/components/mqtt/light/schema_template.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Update homeassistant/components/mqtt/mixins.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* rename validate_modern_schema
* Do not fail platform if a single config is broken
* Update homeassistant/components/mqtt/__init__.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Fix tests on asserting log
* Update log. Make helper transparant, remove patch
* Perform parallel processing
* Update tests/components/mqtt/test_init.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/mqtt/mixins.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* black
* Fix tests and add #new_format anchor
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-05-19 15:04:53 +02:00
Franck Nijhof
9d377aabdb
Fix Google tests ( #72158 )
2022-05-19 14:11:29 +02:00
starkillerOG
f7b96c87d0
Netgear test coverage ( #72150 )
2022-05-19 13:06:56 +02:00
starkillerOG
9be7b02613
Fix Motion Blinds checking interface for multiple gateways ( #71474 )
...
* fix checking interface for multiple gateways
* fix black
* setup lock for shared multicast listener
* fix black
* bump motionblinds to 0.6.7
* compensate for extra Lock_key
* unregister gateway when unloading
* unsubscribe stop listener
* fix black
* only unsubscribe listener on last gateway remove
* catch OSError for invalid interfaces
* test coverage
* make stop listen on last config entry more robust
* also check ConfigEntryState
* fix black
2022-05-19 10:36:22 +02:00
J. Nick Koston
272e65f56d
Fix device_ids being filtered when entities also specified in the logbook ( #72122 )
2022-05-18 23:27:31 -05:00
Allen Porter
a6402697bb
Add display name for application credentials ( #72053 )
...
* Add display name for application credentials
* Rename display name to name
* Improve test coverage for importing a named credential
* Add a default credential name on import
2022-05-18 21:02:30 -07:00
Erik Montnemery
edd7a3427c
Remove support for databases without ROW_NUMBER ( #72092 )
2022-05-18 21:52:38 -05:00
J. Nick Koston
d8a580a90f
Update nexia to use asyncio ( #72108 )
2022-05-18 18:08:02 -05:00
Simone Chemelli
4a95539d9d
Warn user if "model" key is missing from Shelly firmware ( #71612 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-05-18 10:29:02 -07:00
J. Nick Koston
c74b241949
Include initial state in history_stats count ( #71952 )
2022-05-18 10:28:04 -07:00
epenet
8f7f3f328e
Suppress Upnp error in SamsungTV resubscribe ( #71925 )
...
* Suppress Upnp error in SamsungTV resubscribe
* Supress UpnpCommunicationError instead
* Log resubscribe errors
* Add tests
* Add exc_info
2022-05-18 10:01:56 -07:00
J. Nick Koston
bd78eec732
Fix reversed raise_on_progress in baf config_flow ( #72094 )
2022-05-18 17:42:14 +02:00
Erik Montnemery
037f6947d8
Fail recorder setup with unsupported dialect or version ( #70888 )
2022-05-18 16:52:46 +02:00
Allen Porter
26ee289be3
Add return code to integration application credentials in config flow ( #71986 )
...
* Add return code to integration application credentials in config flow
* Update google tests to use new return code
* Update spotify test for no auth configured
* Add translation for oauth2_missing_credentials
* Add new return code to yolink
* Update homeassistant/strings.json
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-05-18 06:30:57 -07:00
epenet
4eb46d45ca
Cleanup deprecated async_get_registry in tests ( #72059 )
2022-05-18 13:12:38 +02:00
epenet
8d57f70466
Ignore UpnpXmlContentError in SamsungTV ( #72056 )
2022-05-18 09:36:20 +02:00
J. Nick Koston
c4fc84ec1e
Add support for selecting device_ids from the logbook ( #72039 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-05-18 01:58:30 -05:00
J. Nick Koston
0dc12c70e3
Add logbook descriptions for elkm1 keypad press events ( #72017 )
...
* Add logbook descriptions for elkm1 keypad press events
* drop extra block
2022-05-18 08:47:02 +02:00
J. Nick Koston
a4c1bcefb9
Tune sqlite based on configured settings ( #72016 )
2022-05-17 18:12:15 -05:00
Franck Nijhof
bfb47eb212
Final clean up of helpers accessed via hass ( #72032 )
...
* Final clean up of helpers accessed via hass
* Fix circular dep
* Fix import
2022-05-17 23:42:37 +03:00
epenet
afe2b71b2e
Update model info from SSDP in SamsungTV ( #71992 )
...
* Update model info from SSDP in SamsungTV
* Add tests
2022-05-17 22:49:19 +03:00
Franck Nijhof
c3d19f3827
Clean up accessing device_registry helpers via hass ( #72031 )
2022-05-17 12:22:15 -07:00
Franck Nijhof
69e622b327
Clean up accessing intent helpers via hass ( #72028 )
2022-05-17 20:33:51 +02:00
Franck Nijhof
c0da97b038
Clean up accessing service helpers via hass ( #72013 )
2022-05-17 10:56:57 -07:00
Paulus Schoutsen
5433c0a535
Make sure empty get_events results is always a list ( #72021 )
2022-05-17 10:43:58 -07:00
Franck Nijhof
8f4caf4141
Clean up accessing event helpers via hass ( #72011 )
2022-05-17 19:36:29 +02:00
Franck Nijhof
c8f700c803
Clean up accessing dispatcher helpers via hass ( #72014 )
...
Clean up accessing ditpatcher helpers via hass
2022-05-17 18:41:36 +02:00
Paulus Schoutsen
0b09376360
Mobile app to notify when sensor is disabled ( #71561 )
...
* Mobile app to notify when sensor is disabled
* Add entity status to get_config
* Allow overriding enabled/disabled
2022-05-17 09:05:49 -07:00
Franck Nijhof
69cc6ab5f1
Clean up accessing entity_registry.async_get_registry helper via hass ( #72005 )
2022-05-17 16:40:45 +02:00
Matrix
e0154d6fb1
Add YoLink product integration ( #69167 )
...
* add yolink integration with door sensor
* Add test flow and update .coveragerc
* Yolink integration Bug fix
* resovle test flow
* issues resolve
* issues resolve
* issues resolve
* resolve issues
* issues resolve
* issues resolve
* change .coveragerc and test_flow
* Update yolink api version
* add test for config entry
* change config flow and add test cases
* remove config entry data
* Add token check for re-auth test flow
* fix test flow issues
* Add application credentials
* Add alias for application_credentials
* support application credentials and cloud account linking
* fix suggest change
2022-05-17 09:59:39 +02:00
J. Nick Koston
a614ddca28
Support requesting translations for multiple integrations in a single request ( #71979 )
2022-05-17 01:23:11 -05:00
J. Nick Koston
78f0716574
Add support for specifying the integrations manifest/list fetches ( #71982 )
...
* Add support for specifying the integrations manifest/list fetches
See https://github.com/home-assistant/core/pull/71979 for
the motovation
* Update homeassistant/components/websocket_api/commands.py
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-05-17 01:22:56 -05:00
Franck Nijhof
99f68ab858
Update dsmr_parser to v0.33 ( #71946 )
2022-05-16 21:04:59 -07:00
Christopher Bailey
3de31939d8
Refactor button code to allow for other button types for UniFi Protect ( #71911 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-16 22:51:13 -05:00
David F. Mulcahey
57c94c0350
Add additional configuration entities for ZHA lights ( #70597 )
...
* Add more configuration entities for ZHA lights
* fix typing circular imports
* enhance filter in entity factory
* fix read attribute chunking
* add test
* add exception test
2022-05-16 13:04:32 -04:00
Allen Porter
7c68278482
Add application_credentials platform to geocaching integration ( #71880 )
2022-05-16 09:57:25 +02:00
Allen Porter
aa35b87884
Improve error handling for application credentials deletion ( #71868 )
2022-05-16 09:37:36 +02:00
J. Nick Koston
a70e2a33dc
Fixing purging legacy rows and improve performance ( #71916 )
2022-05-15 21:25:07 -07:00
J. Nick Koston
089eb9960a
Reduce logbook websocket payload size and parse json attributes via the DBM ( #71895 )
2022-05-15 20:48:57 -07:00
Matej Drobnič
690fb2ae86
Add back description and location to calendar endpoint ( #71887 )
2022-05-15 20:31:22 +02:00
uvjustin
221b77297e
Declare exports from stream explicitly ( #71898 )
2022-05-15 17:58:57 +02:00
J. Nick Koston
98809675ff
Convert history queries to use lambda_stmt ( #71870 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-05-15 10:47:29 -05:00
uvjustin
617b0d04dc
Decouple stream options from PyAV options ( #71247 )
...
Co-authored-by: Allen Porter <allen.porter@gmail.com>
2022-05-14 23:31:18 -07:00
J. Nick Koston
e0bf1fba8d
Add logbook descriptions for mobile app zone enter and exit ( #71749 )
2022-05-14 23:05:56 -07:00
J. Nick Koston
1f753ecd88
Relocate sqlalchemy filter builder to recorder/filters.py ( #71883 )
2022-05-14 23:04:23 -07:00
J. Nick Koston
65f44bd80b
Exclude last_changed when same as last_updated for history websocket api ( #71886 )
2022-05-14 23:03:56 -07:00
Austin Mroczek
3d2f4e31af
Add diagnostics for TotalConnect ( #71506 )
2022-05-14 21:06:05 -05:00
J. Nick Koston
51c6a68036
Add Big Ass Fans integration ( #71498 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-05-14 17:22:47 -05:00
J. Nick Koston
68632cb267
Implement use_include_order in the history websocket api ( #71839 )
2022-05-14 12:37:35 -07:00
J. Nick Koston
ebce5660e3
Sync event timed_fired and the context ulid time ( #71854 )
2022-05-14 12:12:08 -07:00
J. Nick Koston
8c2743bb67
Avoid storing last_changed in the database if its the same as last_updated ( #71843 )
2022-05-14 12:06:31 -07:00
Allen Porter
355445db2d
Add application credentials platform for google calendar integration ( #71808 )
...
* Add google application_credentials platform
* Further simplify custom auth implementation overrides
* Add test coverage in application_credentials
* Simplify wording in a comment
* Remove unused imports accidentally left from merge
* Wrap lines that are too long for style guide
* Move application credential loading to only where it is needed
* Leave CLIENT_ID and CLIENT_SECRET as required.
2022-05-14 10:27:47 -07:00
Christopher Bailey
fdc8830dd3
Remove ssh switch from unsupported devices for UniFi Protect ( #71859 )
2022-05-14 11:07:17 -05:00
G Johansson
c0ae31d86c
Code quality Filesize ( #71768 )
2022-05-14 06:16:22 -05:00
Franck Nijhof
991f0b40f2
Remove YAML configuration from Discord ( #71696 )
2022-05-13 22:55:02 -05:00
G Johansson
0bc843c133
Add remaining tests for Sensibo ( #71764 )
...
* Sensibo remaining tests
* Use fixture for enable entity
2022-05-13 19:40:34 -05:00
J. Nick Koston
a8f1dda004
Use ciso8601 for parsing MySQLdb datetimes ( #71818 )
...
* Use ciso8601 for parsing MySQLDB datetimes
The default parser is this:
5340191feb/MySQLdb/times.py (L66)
* tweak
* tweak
* add coverage for building the MySQLdb connect conv param
2022-05-13 19:26:09 -05:00
Álvaro Fernández Rojas
abe78b1212
Add QNAP QSW Button platform ( #70980 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-13 19:24:29 -05:00
Álvaro Fernández Rojas
e8a8d35289
Add Sensors for Airzone WebServer ( #69748 )
2022-05-13 19:23:18 -05:00
Robert Hillis
4ea6e5dfc0
Add config flow to Slack integration ( #69880 )
2022-05-13 20:05:06 -04:00
Christopher Bailey
3e386064cf
Fix handling package detection for latest UniFi Protect beta ( #71821 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-13 18:42:33 -04:00
mkmer
f6600bbc20
Add Aladdin connect config flow ( #68304 )
...
* Adding flow and async
* Fixes to init
* Lint and type
* Fixed coveragerc file
* Added Test Coverage
* Added Update Listener and removed unused code
* Wrong integration name in init.
* Nothing
* Added yaml import flow
* Added YAML import functionality
* Added back aladdin_connect files to coverage rc
* Removed commented code
* Clean up error message
* Update homeassistant/components/aladdin_connect/__init__.py
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* Update homeassistant/components/aladdin_connect/__init__.py
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* Update homeassistant/components/aladdin_connect/config_flow.py
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* Updated Documentation errors
* recommended change broke cover.py - backed out
* Cleaned up unused defenitions
* implimented recommended changes from gjohansson
* Dev environment cleanup
* Raised errors for better recovery, replaced removed update files, utilized PLATFORM vars to init platform
* Added back removal
* Added Code Owner
* Fixed more comment errors and import duplicates
* Added test coverage and formated code
* Added test coverage for model and init
* Added test_cover for full testing coverage
* Added await to async call
* Added missing asserts to failure tests
* Updated tranlsation
* Fixed wording in yaml import function, white space in const.py, return from validate_input.
* Update homeassistant/components/aladdin_connect/config_flow.py
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
* "too much" whitespace
* Added back mising strings.json errors
* Added ConfigFlowReconfig and tests
* Finished up reauth config flow and associated tests
* Added reauth to strings, removed username from reauth
* recommended changes, ran script.translations, added auth test to reauth
* put back self.entry.data unpack.
* Cleanup for error message, fixed missing "asserts" in tests
* Added yaml import assertions
* Fixed documentation errors in test_cover.
* remove unused string.
* revised tests and wording for yaml import
* Documentation cleanup.
* Changed sideeffect names
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
2022-05-14 00:41:01 +02:00
J. Nick Koston
663f6f8340
Complete refactoring of logbook humanify ( #71830 )
2022-05-13 14:56:16 -07:00
J. Nick Koston
2a2a7a62c5
Avoid matching entity_id/domain attributes in logbook when there is no entities_filter ( #71825 )
2022-05-13 13:16:33 -07:00
Erik Montnemery
08ee276277
Add tilt support to Tasmota covers ( #71789 )
...
* Add tilt support to Tasmota covers
* Bump hatasmota to 0.5.0
2022-05-13 22:03:21 +03:00
Dave T
807df530bc
Add diagnostics file export to generic camera ( #71492 )
2022-05-13 10:27:08 -07:00
Erik Montnemery
4885331509
Fail template functions when no default specified ( #71687 )
2022-05-13 09:46:49 -07:00
Erik Montnemery
83080dbba8
Support this variable in template cover actions ( #71793 )
2022-05-13 09:34:00 -07:00
Erik Montnemery
a17fa6d6d5
Support this variable in template fan actions ( #71795 )
2022-05-13 09:33:44 -07:00
Erik Montnemery
8b412acc98
Support this variable in template lock actions ( #71796 )
2022-05-13 09:33:25 -07:00
Erik Montnemery
66ec4564f4
Support this variable in template number actions ( #71797 )
2022-05-13 09:33:00 -07:00
Erik Montnemery
adde9130a1
Support this variable in template select actions ( #71798 )
2022-05-13 09:32:45 -07:00
Erik Montnemery
6f7a465347
Support this variable in template vacuum actions ( #71800 )
2022-05-13 09:32:19 -07:00
Erik Montnemery
9eca91afc9
Support this variable in template light actions ( #71805 )
2022-05-13 09:31:37 -07:00
Erik Montnemery
042321be60
Support this variable in template button actions ( #71792 )
2022-05-13 17:28:36 +02:00
Erik Montnemery
184421dae6
Support this variable in template switch actions ( #71799 )
2022-05-13 16:44:27 +02:00
Erik Montnemery
6cff2f8571
Tweak template light tests ( #71729 )
2022-05-13 12:22:34 +02:00
Erik Montnemery
dba2f5ab1c
Support this variable in template alarm actions ( #71744 )
2022-05-13 12:17:40 +02:00
Franck Nijhof
e6d7170fd8
Remove deprecated WLED update button ( #71775 )
2022-05-13 11:18:16 +03:00
Jelte Zeilstra
75058e63a4
Create Update entities for Ubiquiti network devices ( #71700 )
...
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
2022-05-13 09:17:41 +02:00
Allen Porter
32e4046435
Prepare google calendar integration for Application Credentials ( #71748 )
...
* Prepare google calendar integration for Application Credentials
Update google calendar integration to have fewer dependencies on
yaml configuration data to prepare for supporting application
credentials, which means setup can happen without configuration.yaml
at all. This pre-factoring will allow the following PR adding
application credentials support to be more focused.
* Add test coverage for device auth checks
2022-05-13 04:33:52 +02:00
J. Nick Koston
7ab4960b1e
Restore v23 stats migration tests ( #71743 )
2022-05-12 21:14:02 -04:00
J. Nick Koston
24a0007785
Add additional context data to logbook events ( #71721 )
2022-05-12 17:21:14 -07:00
J. Nick Koston
1d9fb4bca8
Fix process_datetime_to_timestamp and add test coverage ( #71755 )
2022-05-12 17:12:50 -07:00
Paul Annekov
d76ff7d5a2
Changed API for Ukraine Alarm ( #71754 )
2022-05-12 16:45:39 -07:00
uvjustin
7e49ae6410
Add use_wallclock_as_timestamps option to generic ( #71245 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-05-12 16:43:24 -07:00
G Johansson
a746d7c1d7
Improve code quality in sql integration ( #71705 )
2022-05-12 19:40:00 -04:00
Nathan Spencer
ae89a1243a
Refactor litterrobot to use SensorEntityDescription ( #71224 )
2022-05-12 13:15:59 -05:00
Erik Montnemery
3332c853c4
Remove prints from template tests ( #71746 )
2022-05-12 18:34:26 +02:00
Erik Montnemery
11cc1feb85
Tweak template switch tests ( #71738 )
2022-05-12 17:08:21 +02:00
Erik Montnemery
35e4f11e0b
Tweak template lock tests ( #71734 )
2022-05-12 16:29:48 +02:00
Erik Montnemery
b70e97e949
Remove unused calls fixture from template tests ( #71735 )
2022-05-12 16:04:01 +02:00
Erik Montnemery
1ef3800844
Tweak template cover tests ( #71732 )
2022-05-12 15:22:57 +02:00
Bouwe Westerdijk
5a7624bfd4
Bump plugwise to v0.18.2 ( #71731 )
2022-05-12 15:19:50 +02:00
Erik Montnemery
8f50a70ff5
Tweak template alarm tests ( #71730 )
2022-05-12 14:09:43 +02:00
Rudolf Offereins
577b8cd976
Add Geocaching integration ( #50284 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Reinder Reinders <reinder.reinders@gmail.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-05-12 12:12:47 +02:00
Franck Nijhof
135326a4a6
Remove YAML configuration from filesize ( #71692 )
2022-05-12 10:31:42 +02:00
Franck Nijhof
3ce19cd6f8
Remove YAML configuration from DuneHD ( #71694 )
2022-05-12 09:39:49 +02:00
Raman Gupta
533257021c
Parallelize zwave_js service calls ( #71662 )
...
* Parallelize zwave_js service calls to speed them up and handle exceptions properly
* Fix bug
* Add tests
* Fix comments
* Additional comment fixes
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-05-12 03:07:58 -04:00
Raman Gupta
0d69adb404
Send initial message for certain zwave_js ws subscriptions ( #71723 )
...
* Send initial message for certain zwave_js ws subscriptions
* Be consistent
* fix tests and bugs
2022-05-12 03:07:11 -04:00
Raman Gupta
ca52aa47aa
Enable sentry reporting for zwave_js ( #71719 )
...
* Enable sentry reporting for zwave_js
* Fix test
2022-05-12 03:05:35 -04:00
J. Nick Koston
9cd81db5b3
Add device_id and logbook descriptions to lutron_caseta ( #71713 )
2022-05-11 20:45:16 -07:00
J. Nick Koston
1dc15bb7c8
Prevent history_stats from rejecting states when microseconds differ ( #71704 )
2022-05-11 20:44:35 -07:00
J. Nick Koston
04af9698d3
Add logbook/get_events websocket endpoint ( #71706 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-05-11 22:28:06 -05:00
Franck Nijhof
08851d8366
Remove YAML configuration from International Space Station (ISS) ( #71693 )
2022-05-12 02:32:02 +02:00
J. Nick Koston
e2cef55162
Add history/history_during_period websocket endpoint ( #71688 )
2022-05-11 17:52:22 -05:00
J. Nick Koston
81e8d2ab86
Significantly improve logbook performance when selecting entities ( #71657 )
2022-05-11 15:27:02 -07:00
G Johansson
49491bcda5
Sensibo test data adjustment from late review ( #71482 )
...
* Sensibo test data
* Separate pytest fixture for json load
* Scope to session
2022-05-11 19:36:30 +02:00
J. Nick Koston
1304808f89
Add additional test cover for history_stats ( #71648 )
2022-05-11 13:09:55 +02:00
Erik Montnemery
fb6cdb5a38
Optimistically set hs_color in template light ( #71629 )
...
* Optimistically set hs_color in template light
* Update light.py
* Update test
2022-05-11 09:57:54 +02:00
Graham Arthur Blair
945eba9aa3
Change Ring Chime play sound Buttons to a Siren ( #71449 )
2022-05-10 13:49:38 -07:00
Franck Nijhof
ef16e6c129
Fix Plugwise recovering from aiohttp client error ( #71642 )
2022-05-10 15:28:44 +02:00
J. Nick Koston
26177bd080
Convert logbook to use lambda_stmt ( #71624 )
2022-05-10 08:23:13 -05:00
Erik Montnemery
275a90a2e8
Check state attributes in template light tests ( #71608 )
2022-05-10 12:46:02 +02:00
Andre Richter
3a00c95113
Add device_info and entity_category to Vallox ( #67353 )
...
* Add device_info and entity_category to Vallox
* Fix DeviceInfo
* Address review comments 1
* vallox suggested changes
Co-authored-by: Sebastian Lövdahl <slovdahl@hibox.fi>
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-09 17:00:31 -05:00
J. Nick Koston
d8336a5216
Fix missing context_id in script logbook entries ( #71602 )
2022-05-09 15:22:27 -05:00
J. Nick Koston
222baa53dd
Make database access in the eventloop raise an exception ( #71547 )
2022-05-09 15:22:08 -05:00
J. Nick Koston
2560d35f1c
Always show the start and stop event in logbook ( #71600 )
2022-05-09 15:21:21 -05:00
Erik Montnemery
347193055e
Rename logbook humanify function ( #71597 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-09 23:10:26 +03:00
Michael
287bc5e3dc
Add release url to Fritz!Tools update entity ( #71606 )
...
* add release url to update entity
* fix test
2022-05-09 23:07:47 +03:00
TheHolyRoger
0fcdca2d71
Add optional base64 decoding of mqtt camera image ( #71223 )
...
Add unittest for b64 decoding of camera, fix linting
2022-05-09 21:40:15 +02:00
J. Nick Koston
37c4318d33
Fix merge conflict with master to dev in sabnzbd (CI fix) ( #71605 )
2022-05-09 12:58:42 -05:00
epenet
75ce66e8bd
Migrate wemo light to ColorMode ( #70857 )
2022-05-09 18:42:18 +02:00
Erik Montnemery
e5870c65ee
Add missing cast test fixture ( #71595 )
2022-05-09 18:41:25 +02:00
Álvaro Fernández Rojas
88c2c5c36c
Add Binary Sensors for Airzone Systems ( #69736 )
2022-05-09 09:07:11 -05:00
Paulus Schoutsen
539ce7ff0e
Allow mobile app to disable entities by default ( #71562 )
2022-05-09 08:05:31 -05:00
Álvaro Fernández Rojas
a599325c2d
Add QNAP QSW Binary Sensor platform ( #70868 )
2022-05-09 07:44:14 -05:00
epenet
141688e210
Cleanup ServiceInfo compatibility ( #60540 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-09 14:17:48 +02:00
Erik Montnemery
d284e579bb
Improve Google Cast detection of HLS playlists ( #71564 )
2022-05-09 13:57:32 +02:00
Erik Montnemery
524920dd2e
Add 'toggle' device action to fans ( #71570 )
2022-05-09 13:49:35 +02:00
Robert Hillis
4db289ad6e
Remove deprecated yaml config from Deluge ( #71487 )
2022-05-09 13:22:51 +02:00
epenet
08856cfab0
Remove 1-Wire SysBus (ADR-0019) ( #71232 )
2022-05-09 13:16:23 +02:00
Jan Bouwhuis
5d9dc8252b
Use helper for testing an event change ( #71579 )
2022-05-09 11:52:08 +02:00
Shai Ungar
f50681e3d3
Migrate sabnzbd sensors unique ids ( #71455 )
...
* Migrate sensors unique ids
1. migrate sensors to have unique id constructed also from entry_id
2. add migration flow in init
3. bump config flow to version 2
4. add tests for migration
* move migrate to async_setup_entry
* 1. Use the entity registry api in tests
2. Set up the config entry and not use integration directly
3. remove patch for entity registry
* fix too many lines
* Update tests/components/sabnzbd/test_init.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update tests/components/sabnzbd/test_init.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update tests/components/sabnzbd/test_init.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update tests/components/sabnzbd/test_init.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-05-09 09:27:23 +02:00
epenet
1be2438ef6
Use climate enums in mqtt ( #70696 )
2022-05-09 08:15:11 +02:00
J. Nick Koston
24d7a464e1
Refactor logbook to reduce overhead and complexity ( #71509 )
2022-05-08 21:47:26 -07:00
Guido Schmitz
2b30bda6c8
Add binary sensor platform to devolo Home Network ( #60301 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-08 21:33:20 -05:00
J. Nick Koston
cec7e53302
Fix zeroconf tests ( #71557 )
2022-05-08 19:15:18 -07:00
Fairesoimeme
1d63c2069e
Add ZiGate device on automatic integration USB and ZEROCONF ( #68577 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-08 18:27:09 -05:00
Álvaro Fernández Rojas
9a5e0281db
Add missing AEMET weather units ( #70165 )
2022-05-08 18:20:18 -05:00
Shawn Saenger
5e737bfe4f
Add ws66i core integration ( #56094 )
...
* Add ws66i core integration
* Remove all ws66i translations
* Update ws66i unit tests to meet minimum code coverage
* Update ws66i based on @bdraco review
* General improvements after 2nd PR review
* Disable entities if amp shutoff, set default source names, set 30sec polling
* Add _attr_ and change async_on_unload
* Improve entity generation
* Implement coordinator
* Made options fields required, retry connection on failed attempts, use ZoneStatus for attributes
* Refactor WS66i entity properties, raise HomeAssistantError on restore service if no snapshot
* Update to pyws66i v1.1
* Add quality scale of silver to manifest
* Update config_flow test
2022-05-08 16:52:39 -05:00
J. Nick Koston
7c9c0e911a
Move do_adhoc_statistics to recorder test helpers ( #71544 )
2022-05-08 12:45:57 -07:00
Brandon Rothweiler
e46310ac0b
Add device class for Mazda pressure sensors ( #71539 )
2022-05-08 20:29:58 +01:00
Paul Annekov
2eaaa525f4
Add Ukraine Alarm integration ( #71501 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-05-08 08:22:20 -07:00
Jelte Zeilstra
d52137cc1a
Add state class measurement to deCONZ LightLevel sensors ( #71516 )
2022-05-08 15:54:43 +02:00
J. Nick Koston
a8aa0e1cca
Add Estimated Database Size to the recorder system health ( #71463 )
2022-05-07 21:02:54 -07:00
J. Nick Koston
523828c81e
Ensure sql sensors keep working after using the options flow ( #71453 )
...
* Ensure sql sensors keep working after using the options flow
Fixes
```
2022-05-06 16:17:57 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up sql platform for sensor
Traceback (most recent call last):
File "/Users/bdraco/home-assistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform
await asyncio.shield(task)
File "/Users/bdraco/home-assistant/homeassistant/components/sql/sensor.py", line 97, in async_setup_entry
name: str = entry.options[CONF_NAME]
KeyError: name
```
* ensure saving the options flow fixes the broken config entry
* ensure options changes take effect right away
* Add cover to validate the reload
2022-05-07 14:18:40 -07:00
Álvaro Fernández Rojas
21cee3b1c4
airzone: improve diagnostics ( #71488 )
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2022-05-07 23:13:12 +03:00
Paulus Schoutsen
b1a04302b5
Stringify enums in selectors ( #71441 )
2022-05-06 11:25:01 -07:00
G Johansson
e5619f4af1
Remove yaml import trafikverket_train ( #71410 )
2022-05-06 14:27:12 +03:00
G Johansson
5931f6598a
Add tests for Sensibo ( #71148 )
...
* Initial commit
* Check temperature missing
* fix temp is none
* Fix parallell
* Commit to save
* Fix tests
* Fix test_init
* assert 25
* Adjustments tests
* Small removal
* Cleanup
* no hass.data
* Adjustment test_coordinator
* Minor change test_coordinator
2022-05-06 10:05:15 +03:00
Graham Arthur Blair
c22cf3b3d2
Add buttons to Ring chime devices to play ding and motion chimes ( #71370 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-05-05 16:12:51 -07:00
Paulus Schoutsen
353cc0b8c2
Fix importing blueprints ( #71365 )
...
Co-authored-by: Shay Levy <levyshay1@gmail.com>
2022-05-05 14:33:17 -07:00
Erik Montnemery
d9a7c4a483
Only lookup unknown Google Cast models once ( #71348 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-05-05 11:04:00 -07:00
Erik Montnemery
203bebe668
Include all non-numeric sensor events in logbook ( #71331 )
2022-05-05 13:16:36 -04:00
Ville Skyttä
e3433008a2
Upgrade huawei-lte-api to 1.6.0, adapt to it ( #71041 )
...
* Upgrade huawei-lte-api to 1.6.0, adapt to it
https://github.com/Salamek/huawei-lte-api/releases/tag/1.5
https://github.com/Salamek/huawei-lte-api/releases/tag/1.5.1
https://github.com/Salamek/huawei-lte-api/releases/tag/1.5.2
https://github.com/Salamek/huawei-lte-api/releases/tag/1.5.3
https://github.com/Salamek/huawei-lte-api/releases/tag/1.5.4
https://github.com/Salamek/huawei-lte-api/releases/tag/1.6
* Fix logout on config flow
Co-authored-by: Antonino Piazza <antpza@gmail.com>
2022-05-05 19:37:32 +03:00