Commit Graph
77403 Commits
Author SHA1 Message Date
J. Nick KostonandFranck Nijhof 1f11a75ab1 Always try PullPoint with ONVIF (#96377) 2023-07-20 11:28:47 +02:00
Joost LekkerkerkerandFranck Nijhof 6ed119006d Use device class naming for SimpliSafe (#96093) 2023-07-20 11:28:42 +02:00
G JohanssonandGitHub 3fbdf4a184 Fix timer switch in Sensibo (#96911) 2023-07-20 11:27:30 +02:00
effa90272d Support Tuya Air Conditioner Mate (WiFi) - Smart IR socket with power monitoring (#95027)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-07-20 11:16:38 +02:00
Joost LekkerkerkerandGitHub 34e30570c1 Migrate airtouch 4 to use has entity name (#96356) 2023-07-20 11:15:54 +02:00
Erik MontnemeryandGitHub fa0d68b1d7 Add NumberDeviceClass.DURATION (#96932) 2023-07-20 11:10:03 +02:00
G JohanssonandGitHub db76bf3a9f Implement coordinator in Trafikverket Train (#96916)
* Implement coordinator TVT

* Review comments

* Review changes
2023-07-20 10:40:34 +02:00
4e460f71f8 Add EZVIZ BinarySensorEntity proper names and translation key (#95698)
* Update binary_sensor.py

* Add proper naming and translation keys

* Apply suggestions from code review

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Fix strings after merge.

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-07-20 10:35:06 +02:00
Blastoise186GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
ce0027a84e Upgrade yt-dlp to fix security issue (#96453)
* Bump yt-dlp from 2023.3.4 to 2023.7.6

Bumps [yt-dlp](https://github.com/yt-dlp/yt-dlp) from 2023.3.4 to 2023.7.6.
- [Release notes](https://github.com/yt-dlp/yt-dlp/releases)
- [Changelog](https://github.com/yt-dlp/yt-dlp/blob/master/Changelog.md)
- [Commits](https://github.com/yt-dlp/yt-dlp/compare/2023.03.04...2023.07.06)

---
updated-dependencies:
- dependency-name: yt-dlp
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump yt-dlp to 2023.7.6

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-20 10:21:52 +02:00
df19d4fd15 Ensure androidtv_remote does not block startup of HA (#96582)
* Ensure androidtv_remote does not block startup of HA

* Fix lint

* Use asyncio.wait_for

* Update homeassistant/components/androidtv_remote/__init__.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Update homeassistant/components/androidtv_remote/__init__.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Fix lint

* Lint

* Update __init__.py

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-07-20 10:07:03 +02:00
Eric SeveranceandGitHub 5ffffd8dbc Fully unload wemo config entry (#96620)
* Fully unload wemo config entity

* Test reloading the config entry

* Encapsulate data with dataclasses

* Fix missing test coverage

* Replace if with assert for options that are always set

* Move WemoData/WemoConfigEntryData to models.py

* Use _ to indicate unused argument

* Test that the entry and entity work after reloading

* Nit: Slight test reordering

* Reset the correct mock (get_state)

* from .const import DOMAIN

* Nit: _async_wemo_data -> async_wemo_data; not module private
2023-07-20 10:06:16 +02:00
Ernst KlamerandGitHub 0349e47372 Add support for MiScale V2 (#96807)
* Add support for MiScale V2

* Add icon to impedance

* Reduce mass sensors
2023-07-20 10:01:19 +02:00
J. Nick KostonandGitHub 660c95d784 Pre-split unifiprotect nested attribute lookups (#96862)
* Pre-split unifiprotect nested attribute lookups

replaces and closes #96631

* Pre-split unifiprotect nested attribute lookups

replaces and closes #96631

* comments
2023-07-20 09:59:17 +02:00
Joakim PlateandGitHub 1c19c54e38 Avoid accessing coordinator in gardena_bluetooth tests (#96921)
Avoid accessing coordinator in tests
2023-07-20 08:47:26 +02:00
TimandGitHub 9da155955a Transport NSW: Set DeviceClass and StateClass (#96928)
* 2023.7.16
- Fix bug with values defaulting to "n/a" in stead of None

* 2023.7.16
- Set device class and state classes on entities

* 2023.7.16
- Set StateClass and DeviceClass directly on the entitiy

* 2023.7.16
- Fix black and ruff issues

* 2023.7.17
- Update logic catering for the 'n/a' response on an API failure
- Add testcase

* - Fix bug in formatting

* 2023.7.17
- Refacotr to consider the "n/a" response returned from the Python lib
on an error or faliure
- Remove setting of StateClass and DeviceClass as requested
- Add "n/a" test case

* 2023.7.17
- Remove unused imports

* 2023.7.18
- Apply review requested changes

* - Additional review change resolved

* Add State and Device class attributes
2023-07-20 08:35:26 +02:00
Marc MuellerandGitHub 23810752ed Fix mock assert_called_with (#96929)
* Fix mock assert_called_with

* Fix sonos test

* Revert zeroconf test changes
2023-07-20 08:31:37 +02:00
Renier MoorcroftandGitHub 822d840f81 EZVIZ NumberEntity async added to hass (#96930)
Update number.py
2023-07-20 08:25:54 +02:00
J. Nick KostonandGitHub 6bb81b862c Add a message to the config entry cancel call (#96925) 2023-07-19 19:22:38 -05:00
J. Nick KostonandGitHub 955bed0128 Bump aioesphomeapi to 15.1.12 (#96924) 2023-07-19 18:39:50 -05:00
J. Nick KostonandGitHub f310d6ca58 Bump bleak-retry-connector to 3.1.0 (#96917) 2023-07-19 17:04:46 -05:00
Joakim PlateandGitHub daa53118b3 Correct invalid docstring in gardena button (#96922) 2023-07-19 23:58:31 +02:00
Guy MartinandGitHub deafdc3005 Allow match quirk_class of custom quirks to ZHA (#93268)
* Allow matching custom quirks when self.quirk_classes might not contain the full class path but only the module and the class.

* Add test for matching custom quirk classes.
2023-07-19 16:11:05 -04:00
Joost LekkerkerkerandGitHub 0f4c71f993 Handle nullable context in Spotify (#96913) 2023-07-19 20:37:33 +02:00
J. Nick KostonandGitHub 29aa89bea0 Add lightweight API to get core state (#96860) 2023-07-19 20:31:48 +02:00
mkmerandGitHub 39b242f154 Bump AIOSomecomfort to 0.0.15 in Honeywell (#96904) 2023-07-19 20:30:39 +02:00
J. Nick KostonandGitHub dae264f79e Fix websocket_api _state_diff_event using json_encoder_default (#96905) 2023-07-19 18:22:43 +02:00
steffenrappandGitHub c80085367d Fix typo in Nuki integration (#96908) 2023-07-19 17:55:41 +02:00
3b501fd2d7 Add username to Reauth flow in Honeywell (#96850)
* pre-populate username/password on reauth

* Update homeassistant/components/honeywell/config_flow.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Use add_suggested_value_to_schema

* Optimize code

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-07-19 15:25:10 +02:00
Franck NijhofandGitHub 06aeacc324 Update black to 23.7.0 (#96901) 2023-07-19 14:42:35 +02:00
Franck NijhofandGitHub 93ac340d54 Update syrupy to 4.0.6 (#96900) 2023-07-19 14:42:24 +02:00
Franck NijhofandGitHub e449f8e0e5 Remove Reolink event connection sensor (#96903) 2023-07-19 14:40:00 +02:00
Franck NijhofandGitHub 0502879d10 Update PyJWT to 2.8.0 (#96899) 2023-07-19 14:35:54 +02:00
Franck NijhofandGitHub a305a9fe9c Update sentry-sdk to 1.28.1 (#96898) 2023-07-19 13:50:28 +02:00
33b3b8947a Add Ezviz SensorEntity name and translation (#95697)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-07-19 13:26:11 +02:00
Erik MontnemeryandGitHub f0953dde95 Add comment to EntityPlatform._async_add_entity about update_before_add (#96891) 2023-07-19 13:07:23 +02:00
Marc MuellerandGitHub e18da97670 Improve pip caching [ci] (#96896) 2023-07-19 13:07:11 +02:00
Joost LekkerkerkerandGitHub efbd82b5fb Add entity translations to Tuya (#96842) 2023-07-19 12:43:15 +02:00
Joost LekkerkerkerandGitHub 6ffb1c3c2d Remove version string from Ecowitt name (#96498)
* Remove version string from station name

* Use model as name
2023-07-19 11:19:57 +02:00
ArjanandGitHub 90bdbf503a Add humidity to meteo_france weather forecast (#96524)
Add humidity to forecast figures
2023-07-19 11:14:09 +02:00
Franck NijhofandGitHub f4bc32ea08 Move Dynalite configuration panel to config entry (#96853) 2023-07-19 11:02:42 +02:00
Renier MoorcroftandGitHub e39187423f Ezviz NumberEntity 1st update only when enabled (#96587)
* Initial commit

* Initial commit

* Fix async_aded_to_hass
2023-07-19 10:56:11 +02:00
Erik MontnemeryandGitHub b53eae2846 Add WS command for changing thread channels (#94525) 2023-07-19 10:48:32 +02:00
80a7447030 Add support for buttons in gardena bluetooth (#96871)
* Add button to gardena

* Add tests for button

* Bump gardena bluetooth to 1.0.2

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-07-19 10:17:40 +02:00
Raman GuptaandGitHub 67e3203d00 Add tomorrow.io state translations and dynamically assign enum device class (#96603)
* Add state translations and dynamically assign enum device class

* Reference existing keys

* Handle additional entity descriptions
2023-07-19 09:50:09 +02:00
87d0b026c2 Add support for multiple Russound RNET controllers (#96793)
* add mutiple russound rnet controller support

* Update homeassistant/components/russound_rnet/media_player.py

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-07-19 09:24:37 +02:00
J. Nick KostonandGitHub 01e66d6fb2 Improve handling of unrecoverable storage corruption (#96712)
* Improve handling of unrecoverable storage corruption

fixes #96574

If something in storage gets corrupted core can boot loop
or if its integration specific, the integration will fail to
start.

We now complainly loudly in the log, move away the corrupt data
and start fresh to allow startup to proceed so the user can
get to the UI and restore from backup without having to attach
a console (or otherwise login to the OS and manually modify files).

* test for corruption

* ensure OSError is still fatal

* one more case

* create an issue for corrupt storage

* fix key

* persist

* feedback

* feedback

* better to give the full path

* tweaks

* grammar

* add time

* feedback

* adjust

* try to get issue_domain from storage key

* coverage

* tweak wording some more
2023-07-19 09:23:12 +02:00
uvjustinandGitHub 3e58e1987c Avoid infinite loop on corrupt stream recording (#96881)
* Avoid infinite loop on corrupt stream recording

* Update tests
2023-07-19 09:06:04 +02:00
Franck NijhofandGitHub f2bd122fde Clean up conversation agent attribution (#96883)
* Clean up conversation agent attribution

* Clean up google_generative_ai_conversation as well
2023-07-19 09:03:53 +02:00
Franck NijhofandGitHub 22d0f4ff0a Remove legacy discovery integration (#96856) 2023-07-19 07:10:07 +02:00
J. Nick KostonandGitHub b45369bb35 Bump flux_led to 1.0.0 (#96879) 2023-07-19 06:50:29 +02:00