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
Kevin Stillhammer
90e5d69184
Add template as_timedelta ( #71801 )
2022-05-23 19:32:22 +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
epenet
f25663067c
Enforce type hints on device_automation platform ( #72126 )
2022-05-23 18:51:40 +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
Paulus Schoutsen
3b88c6c012
Inverse parallel updates default check, follow sync "update" method ( #71720 )
2022-05-16 17:10:34 -07:00
J. Nick Koston
9092dcacea
Use async_capture_events for core tests ( #71970 )
2022-05-16 18:04:05 -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
4e9bc9eaff
Small cleanups to find_next_time_expression and addition of tests ( #71845 )
2022-05-14 12:13:32 -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
Paulus Schoutsen
64636a4310
Add service entity context ( #71558 )
...
Co-authored-by: Shay Levy <levyshay1@gmail.com>
2022-05-09 14:45:53 -07: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
J. Nick Koston
30fdfc454f
Avoid lowercasing entities after template ratelimit recovery ( #71415 )
2022-05-09 12:48:38 +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
Paulus Schoutsen
e35a5a1a28
Fix other enums in helpers ( #71505 )
2022-05-07 20:57:48 -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
J. Nick Koston
d612b9e0b4
Reduce event loop overhead for listeners that already queue ( #71364 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-05-05 23:09:10 -04: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
c8f95b7dfc
Ignore loading system entity category ( #71361 )
2022-05-05 14:33:37 -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
Antoni Czaplicki
191230f535
Refactor vulcan integration ( #71175 )
2022-05-05 14:32:36 +02:00
Álvaro Fernández Rojas
6a35c3f2ab
Update aioairzone to v0.4.3 ( #71312 )
...
* Update aioairzone to v0.4.3
Fixes exception on older local API.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* airzone: switch to set_hvac_parameters function
Fixes failing airzone tests.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2022-05-05 10:06:23 +03:00
Michael Chisholm
eebf3acb93
Relax dlna_dmr filtering when browsing media ( #69576 )
...
* Fix incorrect types of test data structures
* Loosen MIME-type filtering for async_browse_media
* Add option to not filter results when browsing media
Some devices do not report all that they support, and in this case
filtering will hide media that's actually playable. Most devices are OK,
though, and it's better to hide what they can't play. Add an option, off by
default, to show all media.
* Fix linting issues
2022-05-04 22:22:15 -07:00
epenet
db08c04da6
Only test for EncryptedBridge in Samsung J/H models ( #71291 )
2022-05-04 22:15:24 -07:00
J. Nick Koston
eb77f8db85
Complete strict typing for recorder ( #71274 )
...
* Complete strict typing for recorder
* update tests
* Update tests/components/recorder/test_migrate.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update tests/components/recorder/test_migrate.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Remove the asserts
* remove ignore comments
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-05-04 12:22:50 -05:00
J. Nick Koston
13ce0a7d6a
Fix history using pre v25 queries during v26 migration ( #71295 )
2022-05-04 08:56:50 -07:00
Thomas Dietrich
f2d6a06a6a
Add additional characteristics to the statistics integration ( #62631 )
...
* Improve config checking, add device_class timestamp
* Improve warning message
2022-05-04 15:57:56 +02:00
Erik Montnemery
1df99badcf
Allow scripts to turn themselves on ( #71289 )
2022-05-04 15:54:37 +02:00
Joakim Sørensen
03ab9d07a8
Remove more info links for hassio system health ( #71286 )
2022-05-04 15:47:24 +02:00
ollo69
ee8eac10c9
Address late review of AsusWRT unique id PR ( #71281 )
2022-05-04 11:39:55 +02:00
Paulus Schoutsen
6e675d6f07
Fix homekit tests in beta ( #71268 )
2022-05-03 14:09:35 -07:00
ollo69
93153b3790
Add UniqueID to AsusWRT config entry ( #70478 )
2022-05-03 13:56:57 -07:00
J. Nick Koston
e30940ef2a
Move processing of recorder service call arguments into services.py ( #71260 )
2022-05-03 13:56:22 -07:00
Erik Montnemery
e9abfad361
Reject MQTT topics which include control- or non-characters ( #71263 )
2022-05-03 12:19:43 -07:00
J. Nick Koston
236d8aa277
Avoid recording static attributes for group entities ( #71256 )
2022-05-03 13:22:49 -05:00
J. Nick Koston
e1be6dd34f
Move recorder services to services.py ( #71249 )
2022-05-03 10:38:44 -07:00
J. Nick Koston
60bfcc6be4
Allow hidden entities to be selected in homekit include mode ( #71250 )
2022-05-03 09:47:13 -07:00
Erik Montnemery
eba125b093
Ensure 'this' variable is always defined for template entities ( #70911 )
2022-05-03 07:43:44 -07:00
J. Nick Koston
b562416eb2
Remove humidify_supported and dehumidify_supported attributes from nexia ( #71248 )
...
These non-standard attributes can already be infered from the dehumidify_setpoint
or humidify_setpoint and took up space in the database every time
any of the values changes
2022-05-03 17:33:50 +03:00
Erik Montnemery
eb10654e01
Add test for failing conditions in sub scripts ( #71238 )
2022-05-03 13:06:13 +02:00
Franck Nijhof
99360ad7f4
Indicate disabled steps in script trace ( #71237 )
2022-05-03 13:04:59 +02:00
Erik Montnemery
92f1855bcf
Fix script conditions ( #71235 )
2022-05-03 11:28:08 +02:00
Erik Montnemery
1931600eac
Isolate parallel subscripts ( #71233 )
2022-05-03 10:36:58 +02:00
J. Nick Koston
29bda196b5
Break apart recorder into tasks and core modules ( #71222 )
2022-05-02 21:53:56 -07:00
J. Nick Koston
75026f9fed
Separate recorder logic for state_changed and non-state_changed events ( #71204 )
2022-05-02 17:22:53 -05:00
ollo69
ea456893f9
Review AndroidTV tests for media player entity ( #71168 )
2022-05-02 15:18:38 -07:00
J. Nick Koston
188040b8bb
Use lambda_stmt for recorder queries and migrate them to queries module ( #71219 )
2022-05-02 15:17:21 -07:00
Paulus Schoutsen
40cf75844a
Add media source support to Bose Soundtouch ( #71209 )
2022-05-02 20:02:20 +02:00
Yuval Aboulafia
7c46eb5952
Add test for incorrect config for Jewish Calendar ( #71163 )
...
* Loop load Jewish Calendar platforms
* Address review
* Add test for incorrect config
* add test to sensor platform
2022-05-02 20:52:00 +03:00
Paulus Schoutsen
0926470ef0
Skip signing URL that we know requires no auth ( #71208 )
2022-05-02 19:51:13 +02:00
Erik Montnemery
1aaf78ef99
Remove entity category system in favor of hidden_by ( #68550 )
2022-05-02 09:33:16 -07:00
Erik Montnemery
f35e7d1129
Allow cancelling async_at_start helper ( #71196 )
2022-05-02 07:41:14 -07:00
Erik Montnemery
1e18307a66
Add reauth flow to Meater ( #69895 )
2022-05-02 15:50:13 +02:00
Erik Montnemery
f6c2fb088c
Stop script if sub-script stops or aborts ( #71195 )
2022-05-02 14:59:58 +02:00
Erik Montnemery
546ba8169d
Remove entity registry entries when script is removed ( #71193 )
2022-05-02 13:15:19 +02:00
stegm
738701a2d6
Handle missing kostal plenticore battery option ( #65237 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-05-02 11:42:18 +02:00
Robert Svensson
37b59dfcc0
Make sure sensor state value is not None prior to trying to used the scaled value ( #71189 )
2022-05-02 10:51:19 +03:00
J. Nick Koston
5db014666c
Avoid recording state_changed events in the events table ( #71165 )
...
* squash
fix mypy
* Update homeassistant/components/recorder/models.py
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
* pass all columns
* fix commented out code
* reduce logbook query complexity
* merge
* comment
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-05-02 02:10:34 -05:00
Franck Nijhof
63679d3d29
Fix missing device & entity references in automations ( #71103 )
2022-05-01 21:49:50 -07:00
J. Nick Koston
2a9f043039
Use ULID short format for context ids ( #71119 )
2022-05-01 21:44:54 -07:00
J. Nick Koston
c23866e5e5
De-duplicate event data into a new event_data table ( #71135 )
2022-05-01 21:01:17 -05:00
J. Nick Koston
b8442d9340
Add json decode caching to logbook ( #71080 )
2022-05-01 19:33:31 -05:00
Raman Gupta
ae01ec02e2
Allow custom integrations to support application_credentials platform ( #71129 )
2022-05-01 16:26:22 -07:00
Dave T
26c6328b1f
Generic camera handle template adjacent to portnumber ( #71031 )
2022-05-01 16:13:21 -07:00
J. Nick Koston
ff48720c6a
Remove db schema v23 stats migration tests ( #71137 )
2022-05-01 16:11:11 -07:00
Robert Svensson
63e3095062
Abort UniFi Network options flow if integration is not setup ( #71128 )
2022-05-01 21:00:38 +02:00
Allen Porter
285fdeb581
Add calendar trigger offsets ( #70963 )
...
* Add support for calendar trigger offsets
* Add offset end test
* Update homeassistant/components/calendar/trigger.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Always include offset in trigger data
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-30 17:21:30 -07:00
Álvaro Fernández Rojas
7b2947bad7
Add QNAP QSW diagnostics support ( #70871 )
...
* qnap_qsw: add diagnostics support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* qnap_qsw: diagnostics: several improvements
- Provide full config_entry.
- Reduce number of test asserts.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2022-04-30 23:13:35 +03:00
J. Nick Koston
109b4d45ca
Allow matching ssdp by manufacturerURL only ( #71125 )
2022-04-30 14:17:18 -05:00
Robert Svensson
a0fe5b0247
Make deCONZ SSDP discovery more strict by matching on manufacturerURL ( #71124 )
2022-04-30 19:33:47 +02:00
Shay Levy
75debb7dec
Add entity id to template error logging ( #71107 )
...
* Add entity id to template error logging
* Increase coverage
2022-04-30 19:24:24 +03:00
J. Nick Koston
66a21e0bc3
Add basic system health data to the recorder ( #71086 )
2022-04-30 11:10:20 -05:00
Robert Hillis
f14bc1cece
Clean up Steam integration ( #71091 )
...
* Clean up Steam
* uno mas
* uno mas
* uno mas
2022-04-30 17:40:57 +02:00
Allen Porter
00b5d30e24
Add application credentials platform ( #69148 )
...
* Initial developer credentials scaffolding
- Support websocket list/add/delete
- Add developer credentials protocol from yaml config
- Handle OAuth credential registration and de-registration
- Tests for websocket and integration based registration
* Fix pydoc text
* Remove translations and update owners
* Update homeassistant/components/developer_credentials/__init__.py
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
* Update homeassistant/components/developer_credentials/__init__.py
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
* Remove _async_get_developer_credential
* Rename to application credentials platform
* Fix race condition and add import support
* Increase code coverage (92%)
* Increase test coverage 93%
* Increase test coverage (94%)
* Increase test coverage (97%)
* Increase test covearge (98%)
* Increase test coverage (99%)
* Increase test coverage (100%)
* Remove http router frozen comment
* Remove auth domain override on import
* Remove debug statement
* Don't import the same client id multiple times
* Add auth dependency for local oauth implementation
* Revert older oauth2 changes from merge
* Update homeassistant/components/application_credentials/__init__.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Move config credential import to its own fixture
* Override the mock_application_credentials_integration fixture instead per test
* Update application credentials
* Add dictionary typing
* Use f-strings as per feedback
* Add additional structure needed for an MVP application credential
Add additional structure needed for an MVP, including a target
component Xbox
* Add websocket to list supported integrations for frontend selector
* Application credentials config
* Import xbox credentials
* Remove unnecessary async calls
* Update script/hassfest/application_credentials.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update script/hassfest/application_credentials.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update script/hassfest/application_credentials.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update script/hassfest/application_credentials.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Import credentials with a fixed auth domain
Resolve an issue with compatibility of exisiting config entries when importing
client credentials
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-30 08:06:43 -07:00