Commit Graph

82280 Commits (457e66527a7bd8f5936ddff88ceaeb1869a3cfc6)

Author SHA1 Message Date
Paul Bottein 61a722218a
Update frontend to 20240903.1 () 2024-09-03 19:52:38 +02:00
Raj Laud 3137c27e56
Fix type errors in squeezebox () 2024-09-03 19:50:44 +02:00
Nerdix 7b35c3036e
Enhance error handling when changing a timer's duration ()
* Update remaining before checking duration

* fix comment

* calculation based on transient field

* lint

* remove useless brackets
2024-09-03 19:47:00 +02:00
mvn23 8e03f3a045
Update opentherm_gw tests to avoid patching internals ()
* Update tests to avoid patching internals

* * Use fixtures for tests
* Update variable names in tests for clarity

* Use hass.config_entries.async_setup instead of setup.async_setup_component
2024-09-03 19:19:43 +02:00
Raj Laud 8f26cff65a
Enable strict typing for the Squeezebox integration ()
* Strict typing for squeezebox

* Improve unit tests

* Refactor tests to use websockets and services.async_call

* Apply suggestions from code review

* Fix merge conflict
2024-09-03 19:19:30 +02:00
Alex Wijnholds 00533bae4b
Add support for total YouTube views ()
* Add support for retrieving the total views of a channel.

* Add missing tests

* Re-order imports

* Another run on code format

* Add missing translation

* Update YouTube test snapshots
2024-09-03 17:44:20 +02:00
Alexandre CUER 8255728f53
Migrate emoncms to config flow ()
* Migrate emoncms to config flow

* tests coverage 98%

* use runtime_data

* Remove pyemoncms bump.

* Remove not needed yaml parameters add async_update_data to coordinator

* Reduce snapshot size

* Remove CONF_UNIT_OF_MEASUREMENT

* correct path in emoncms_client mock

* Remove init connexion check
as done by config_entry_first_refresh
since async_update_data catches exceptionand raise UpdateFailed

* Remove CONF_EXCLUDE_FEEDID from config flow

* Update homeassistant/components/emoncms/__init__.py

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

* Update homeassistant/components/emoncms/sensor.py

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

* Update homeassistant/components/emoncms/strings.json

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

* Use options in options flow and common strings

* Extend the ConfigEntry type

* Define the type explicitely

* Add data description in strings.json

* Update tests/components/emoncms/test_config_flow.py

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

* Update tests/components/emoncms/test_config_flow.py

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

* Add test import same yaml conf + corrections

* Add test user flow

* Use data_description...

* Use snapshot_platform in test_sensor

* Transfer all fixtures in conftest

* Add async_step_choose_feeds to ask flows to user

* Test abortion reason in test_flow_import_failure

* Add issue when value_template is i yaml conf

* make text more expressive in strings.json

* Add issue when no feed imported during migration.

* Update tests/components/emoncms/test_config_flow.py

* Update tests/components/emoncms/test_config_flow.py

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-09-03 17:21:13 +02:00
ollo69 470335e27a
Add sensors for AsusWRT using http(s) library ()
* Additional sensors for AsusWRT using http(s) library

* Remove temperature sensors refactor from PR

* Fix test function name

* Change translation a suggested

* Requested changes
2024-09-03 17:11:17 +02:00
Andrew Jackson 56887747a6
Bump aiomealie to 0.9.2 ()
Bump mealie version
2024-09-03 17:09:26 +02:00
Erik Montnemery 1dcae0c0a6
Improve some comments in recorder tests () 2024-09-03 17:04:08 +02:00
Erik Montnemery 8759a6a14d
Make optional arguments to frame.report kwarg only ()
* Make optional arguments to frame.report kwarg only

* Update homeassistant/helpers/frame.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

---------

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2024-09-03 17:03:36 +02:00
Hans Kröner 5d072d1030
Bump PyMetno to 0.13.0 () 2024-09-03 16:51:13 +02:00
Raj Laud 78517f75e8
Add favorites support to Media Browser for Squeezebox integration ()
* Add Favorites support to Media Browser

* CI fixes

* More CI Fixes

* Another CI

* Change icons for other library items to use standard LMS icons

* Change max favorites to BROWSE_LIMIT

* Simplify library_payload to consolidate favorite and non-favorite items

* Simplify library_payload to consolidate favorite and non-favorite items

* Add support for favorite hierarchy

* small fix for icon naming with local albums

* Add ability to expand an album from a favorite list

* Reformat to fix linting error

* and ruff format

* Use library calls from pysqueezebox

* Folder and playback support

* Bump to pysqueezebox 0.8.0

* Bump pysqueezebox version to 0.8.1

* Add unit tests

* Improve unit tests

* Refactor tests to use websockets and services.async_call

* Apply suggestions from code review

---------

Co-authored-by: peteS-UK <64092177+peteS-UK@users.noreply.github.com>
2024-09-03 16:50:55 +02:00
MJJ 42ed7fbb0d
Increase timeout for fetching buienradar weather data ()
Increase timeout for fetching weather data
2024-09-03 16:50:30 +02:00
Michael 96be3e2505
Use SnapshotAssertion in more AVM Fritz!Box Tools tests ()
use SnapshotAssertion in more tests
2024-09-03 16:39:06 +02:00
UltimateGG 2fa3b9070c
Fix updating insteon modem configuration while disconnected ()
 Fix updating insteon modem configuration while disconnected
2024-09-03 16:31:48 +02:00
mvn23 d827c53a85
Remove opentherm_gw options migration () 2024-09-03 15:59:12 +02:00
G Johansson 436ac72b82
End deprecation setting attributes directly on config entry ()
* End deprecation setting attr directly on config entry

* Update ollama test

* Fix android_tv
2024-09-03 15:56:00 +02:00
Martin Hjelmare 7c15075231
Clean up Z-wave error log when raising in service handlers () 2024-09-03 15:49:11 +02:00
S 8e3ad2d1f3
Extended epson projector integration to include serial connections ()
* Extended epson projector integration to include serial connections

* Fix review changes

* Improve epson types and translations

* Fix comment

---------

Co-authored-by: Joostlek <joostlek@outlook.com>
2024-09-03 15:46:57 +02:00
dependabot[bot] 733bbf9cd1
Bump actions/upload-artifact from 4.3.6 to 4.4.0 ()
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.6 to 4.4.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4.3.6...v4.4.0)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-09-03 15:46:05 +02:00
Jakob Schlyter 822660732b
Support setting Amazon Polly engine in service call () 2024-09-03 15:45:37 +02:00
Erik Montnemery d6bd4312ab
Add explaining comments in cv.template tests () 2024-09-03 15:34:31 +02:00
J. Nick Koston 491bde181c
Speed up hassio send_command url check ()
* Speed up hassio send_command url check

The send_command call checked the resulting path to make
sure that the input path was not modified when converting
to a URL. Since the host is is pre-set, we only need to check
the processed raw_path matches command instead of converting
back to a string, and than comparing it against another
constructed string.

* Speed up hassio send_command url check

The send_command call checked the resulting path to make
sure that the input path was not modified when converting
to a URL. Since the host is is pre-set, we only need to check
the processed raw_path matches command instead of converting
back to a string, and than comparing it against another
constructed string.

* adjust
2024-09-03 15:29:02 +02:00
Artur Pragacz fdce524811
Add Onkyo Receiver class to improve typing () 2024-09-03 15:27:33 +02:00
Erik Montnemery cf10549df4
Restore unnecessary assignment of Template.hass in event helper () 2024-09-03 15:25:35 +02:00
Marcel van der Veldt fd01e22ca4
Fix energy sensor for ThirdReality Matter powerplug () 2024-09-03 15:24:49 +02:00
tronikos 334359bb0a
Add Google Cloud Speech-to-Text (STT) ()
* Google Cloud

* .

* fix

* mypy

* add tests

* Update .coveragerc

* Update const.py

* upload file, reconfigure and import flow

* fixes

* default to latest_short

* mypy

* update

* Allow clearing options in the UI

* update

* update

* update
2024-09-03 15:23:07 +02:00
Steven B. eda1656e75
Abort ring config_flow if account is already configured ()
* Abort ring config_flow if account is already configured

* Update tests/components/ring/test_config_flow.py

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-09-03 15:22:38 +02:00
Robert Resch 6cea6be4a7
Improve hassfest docker image ()
* Improve hassfest docker image

* Use fixed uv version

* Use cli params instead env

* run hassfest

* Exclude pycache
2024-09-03 14:59:01 +02:00
Brett Adams 6ecc5c19a2
Add climate platform to Tesla Fleet ()
* Add climate

* docstring

* Add tests

* Fix limited scope situation

* Add another test

* Add icons

* Type vehicle data

* Replace inline temperatures

* Fix handle_vehicle_command type

* Fix preset turning HVAC off

* Fix cop_mode check

* Use constants

* Reference docs in command signing error

* Move to a read-only check

* Remove raise_for

* Fixes

* Tests

* Remove raise_for_signing

* Remove unused strings

* Fix async_set_temperature

* Correct tests

* Remove HVAC modes at startup in read-only mode

* Fix order of init actions to set hvac_modes correctly

* Fix no temp test

* Add handle command type

* Docstrings

* fix matches and fix a bug

* Split tests

* Fix issues from rebase
2024-09-03 14:38:47 +02:00
Erik Montnemery c321bd70e1
Log deprecation warning when `cv.template` is called from wrong thread ()
Log deprecation warning when cv.template is called from wrong thread
2024-09-03 14:37:21 +02:00
Erik Montnemery 851600630c
Log deprecation warning when `template.Template` is created without `hass` ()
* Log deprecation warning when template.Template is created without hass

* Improve docstring
2024-09-03 14:28:33 +02:00
Michal Jál e3896d1f60
Bump PySwitchbot to 0.48.2 () 2024-09-03 14:22:39 +02:00
Aaron Bach c71cf272c8
Fix unhandled exception with missing IQVIA data () 2024-09-03 14:21:52 +02:00
Robert Resch d12c6f89d2
Bump hadolint to 2.12.0 and use matrix for all Dockerfiles ()
* Bump hadolint to 2.12.0 and use matrix for all Dockerfiles

* Fix

* Disable fail fast
2024-09-03 14:13:43 +02:00
Steven B. 5965d8d503
Pass hass clientsession to ring config flow ()
Pass hass clientsession to ring config flow
2024-09-03 14:00:30 +02:00
ilan 94f458ff98
Bump py-madvr2 to 1.6.32 ()
feat: update lib
2024-09-03 13:56:59 +02:00
Allen Porter c07a9e9d59
Add dependency on google-photos-library-api: Change the Google Photos client library to a new external package ()
* Change the Google Photos client library to a new external package

* Remove mime type guessing

* Update tests to mock out the client library and iterators

* Update homeassistant/components/google_photos/media_source.py

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

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-09-03 13:54:43 +02:00
Philip Vanloo b9db9eeab2
Add Linkplay mTLS/HTTPS and improve logging ()
* Work

* Implement 0.0.8 changes, fixup tests

* Cleanup

* Implement new playmodes, close clientsession upon ha close

* Implement new playmodes, close clientsession upon ha close

* Add test for zeroconf bridge failure

* Bump 0.0.9
Address old comments in 113940

* Exact _async_register_default_clientsession_shutdown
2024-09-03 13:34:47 +02:00
Christopher Fenner f34b449f61
Correct device serial for ViCare integration ()
* expose correct serial

* adapt inits

* adjust _build_entities

* adapt inits

* add serial data point

* update snapshot

* apply suggestions

* apply suggestions
2024-09-03 12:50:05 +02:00
Artur Pragacz fc24843274
Fix Onkyo action select_hdmi_output ()
* Fix Onkyo service select_hdmi_output

* Move Hasskey directly under Onkyo domain
2024-09-03 12:43:31 +02:00
Steven B. 22b6239304
Convert ring integration to use entry.runtime_data () 2024-09-03 12:04:35 +02:00
LG-ThinQ-Integration aa8fe99113
Add binary_sensor platform to LG Thinq ()
* Add binary_sensor entity

* Update the document link due to the domain name change

* Update casing

---------

Co-authored-by: jangwon.lee <jangwon.lee@lge.com>
2024-09-03 09:30:46 +02:00
Erik Montnemery 7c223db1d5
Remove recorder PostSchemaMigrationTask ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-09-03 07:51:27 +02:00
Jan Bouwhuis 0c18b2e7ff
Remove `is_on` function from `homeassistant.components` ()
* Remove `is_on` method from `homeassistant.components`

* Cleanup test
2024-09-03 06:57:25 +02:00
dontinelli d68ee8dcea
Replace _host_in_configuration_exists with async_abort_entries_match in solarlog ()
* Add diagnostics to solarlog

* Fix wrong comment

* Move to async_abort_entries_match

* Remove obsolete method solarlog_entries

* Update tests/components/solarlog/test_config_flow.py

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

* Update tests/components/solarlog/test_config_flow.py

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

* Update tests/components/solarlog/test_config_flow.py

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

* Update tests/components/solarlog/test_config_flow.py

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

* Amend import of config_entries.SOURCE_USER

* Update tests/components/solarlog/test_config_flow.py

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

* Ruff

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-09-03 00:38:09 +02:00
cnico 671aaa7e95
Bump flipr api to 1.6.1 () 2024-09-02 23:51:10 +02:00
Álvaro Fernández Rojas faefe624f6
Add Airzone Cloud Aidoo HVAC indoor/outdoor sensors ()
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-09-02 22:17:24 +02:00
J. Nick Koston f93259a2f1
Bump yalexs to 8.6.0 () 2024-09-02 21:43:34 +02:00