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