Commit Graph
16812 Commits
Author SHA1 Message Date
J. Nick KostonandGitHub b106ca7983 Fix race fetching ESPHome dashboard when there are no devices set up (#96196)
* Fix fetching ESPHome dashboard when there are no devices setup

fixes #96194

* coverage

* fix
2023-07-11 14:11:51 -04:00
puddlyandGitHub b6e83be6f9 Fix ZHA serialization issue with warning devices (#96275)
* Bump ZHA dependencies

* Update unit tests to reduce mocks
2023-07-11 14:09:52 -04:00
Jan BouwhuisandGitHub 50442c5688 Speedup tests command_line integration (#96349) 2023-07-11 18:31:32 +02:00
G JohanssonandGitHub 49b6c8ed6e Fix diagnostics Sensibo (#96336) 2023-07-11 18:24:40 +02:00
Erik MontnemeryandGitHub c61c5a0443 Schedule VacuumEntity for removal in Home Assistant Core 2024.2 (#96236) 2023-07-11 18:20:00 +02:00
MichaelandGitHub 5a87186916 Improve integration startup in AVM Fritz!Tools (#96269) 2023-07-11 18:01:05 +02:00
Franck NijhofandGitHub f054de0ad5 Add support for service translations (#95984) 2023-07-11 15:52:12 +02:00
Jan BouwhuisandGitHub f12f8bca03 Avoid CI fail in command_line tests (#96324)
* Avoid CI fail in command_line tests

* Speedup tests manual update
2023-07-11 15:27:31 +02:00
Jan BouwhuisandGitHub f3e55e96f4 Improve test coverage mqtt vacuum (#96288) 2023-07-11 10:16:00 +02:00
Jan BouwhuisandGitHub beff19f93c Improve mqtt tag schema logging and avoid tests that use xfail (#95711)
Improve schema logging and tests
2023-07-11 10:12:31 +02:00
Jan BouwhuisandGitHub 30578d6236 Deprecate mqtt vacuum with legacy schema (#95836)
* Deprecate mqtt vacuum with legacy schema

* Consistent comments

* Correct comment

* Remove persistence option

* Adjust string, mention restart

* Update deprecation comment
2023-07-11 09:54:28 +02:00
eee8566694 Differentiate between device info types (#95641)
* Differentiate between device info types

* Update allowed fields

* Update homeassistant/helpers/entity_platform.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Split up message in 2 lines

* Use dict for device info types

* Extract device info function and test error checking

* Simplify parsing device info

* move checks around

* Simplify more

* Move error checking around

* Fix order

* fallback config entry title to domain

* Remove fallback for name to config entry domain

* Ensure mocked configuration URLs are strings

* one more test case

* Apply suggestions from code review

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

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-07-10 09:56:06 -04:00
a3681774d6 Use snapshots in devolo Home Network sensor tests (#95104)
Use snapshots

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-07-10 15:49:08 +02:00
Erik MontnemeryandGitHub 39208a3749 Remove unsupported vacuum service handlers (#95787)
* Prevent implementing unsupported vacuum service handlers

* Remove unsupported service handlers

* Update test
2023-07-10 15:03:40 +02:00
08a5f63474 Add deprecated_yaml issue to the homeassistant integration (#95980)
* Add deprecated_yaml issue to the homeassistant integration

* Update test

* Update homeassistant/components/homeassistant/strings.json

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

* Include DOMAIN in issue_id

* Update test

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-07-10 13:06:52 +02:00
Erik MontnemeryandGitHub 96c71b214f Check supported features in calls to vacuum services (#95833)
* Check supported features in vacuum services

* Update tests

* Add comment
2023-07-10 13:05:47 +02:00
J. Nick KostonandGitHub 7dc03ef301 Use the ESPHome object_id to suggest the entity id (#95852) 2023-07-10 13:02:34 +02:00
Erik MontnemeryandGitHub 87f284c7e9 Add MEDIA_ANNOUNCE to MediaPlayerEntityFeature (#95906) 2023-07-10 12:58:53 +02:00
Allen PorterandGitHub c4a39bbfb1 Remove Legacy Works With Nest (#96111)
* Remove Legacy Works With Nest

* Simplify nest configuration

* Cleanup legacy nest config entries
2023-07-09 19:38:05 -07:00
Allen PorterandGitHub 32b3fa1734 Enable retries on rainbird devices by loading model and version (#96190)
Update rainbird to load device model and version
2023-07-09 16:49:44 -07:00
J. Nick KostonandGitHub 995fb993e6 Avoid probing ESPHome devices when we do not have the encryption key (#95820) 2023-07-09 12:57:04 -10:00
Chris TalkingtonandGitHub 7390e3a997 Refactor IPP tests (#94097)
refactor ipp tests
2023-07-09 17:37:32 -05:00
G JohanssonandGitHub 0546e7601c Enhance diagnostics for Sensibo (#96150)
* Diag Sensibo

* Fix snapshot
2023-07-09 22:50:12 +02:00
J. Nick KostonandGitHub bc28d7f33e Add slots to bluetooth manager (#95881) 2023-07-09 10:06:26 -10:00
Matthias AlphartandGitHub 89259865fb Restore KNX telegram history (#95800)
* Restore KNX telegram history

* increase default log size

* test removal of telegram history
2023-07-09 21:15:55 +02:00
Joost LekkerkerkerandGitHub 8bbb395bec Add entity translations to Speedtest.net (#96168)
* Add entity translations to Speedtest.net

* Fix tests
2023-07-09 20:20:39 +02:00
LukeandGitHub ab3b0c9075 Add error sensor to Roborock (#96209)
add error sensor
2023-07-09 20:17:19 +02:00
Joost LekkerkerkerandGitHub 9ef4b2e5f5 Migrate ring to entity name (#96080)
Migrate ring to has entity name
2023-07-09 13:55:10 -04:00
Franck NijhofandGitHub 18dddd6342 Update Ruff to v0.0.277 (#96108) 2023-07-09 10:10:23 -04:00
Matthias AlphartandGitHub 479015244d KNX Cover: Use absolute tilt position if available (#96192) 2023-07-09 12:00:51 +02:00
J. Nick KostonandGitHub 6758292655 Add bthome logbook platform (#96171) 2023-07-08 21:42:48 -10:00
G JohanssonandGitHub 2ebc265184 Bump pysensibo to 1.0.31 (#96154) 2023-07-08 09:23:11 -10:00
dougiteixeiraandGitHub 4b1d096e6b Add device_class and state_class in config flow for SQL (#95020)
* Add device_class and state_class in config flow for SQL

* Update when selected NONE_SENTINEL

* Add tests

* Use SensorDeviceClass and SensorStateClass in tests

* Add volatile_organic_compounds_parts in strings selector

* Add test_attributes_from_entry_config

* Remove test_attributes_from_entry_config and complement test_device_state_class

* Add test_attributes_from_entry_config in test_sensor.py
2023-07-08 21:00:22 +02:00
2c9910d9b6 Use default MyStrom devicetype if not present (#96070)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2023-07-08 17:10:51 +02:00
Joost LekkerkerkerandGitHub 598610e313 Add entity translations to Sensibo (#96091) 2023-07-08 16:50:46 +02:00
J. Nick KostonandGitHub e39f023e3f Refactor ESPHome camera to avoid creating tasks (#95818) 2023-07-08 12:36:40 +02:00
Erik MontnemeryandGitHub 3d064b7d6b Add filters to cover/services.yaml (#95854) 2023-07-08 11:51:02 +02:00
Álvaro Fernández RojasandGitHub 1eb2ddf010 Update aioairzone-cloud to v0.2.1 (#96063) 2023-07-08 11:41:39 +02:00
Erik MontnemeryandGitHub 6dae3553f2 Add MEDIA_ENQUEUE to MediaPlayerEntityFeature (#95905) 2023-07-08 10:55:25 +02:00
J. Nick KostonandGitHub 2b4f6ffcd6 Speed up hassio ingress (#95777) 2023-07-08 10:50:39 +02:00
Scott GiminianiandGitHub f4ad261f51 Use global CONF_API_TOKEN constant rather than defining our own (#96120) 2023-07-08 10:46:34 +02:00
J. Nick KostonandGitHub e38f55fdb6 Move ESPHomeManager into its own file (#95870)
* Move ESPHomeManager into its own file

This is not a functional change. This is only a reorganization
ahead of some more test coverage being added so moving tests
around can be avoided later.

* relos

* fixes

* merge a portion of new cover since its small and allows us to remove the __init__ from .coveragerc
2023-07-08 09:19:44 +02:00
Robert HillisandGitHub 8bfac2c46c Correct Goalzero sensor state class (#96122) 2023-07-08 08:52:15 +02:00
Jan BouwhuisandGitHub 18ee9f4725 Refactor async_get_hass to rely on threading.local instead of a ContextVar (#96005)
* Test for async_get_hass

* Add Fix
2023-07-07 14:52:38 -04:00
Joost LekkerkerkerandGitHub ddd0d3faa2 Get MyStrom device state before checking support (#96004)
* Get device state before checking support

* Add full default device response to test

* Add test mocks

* Add test coverage
2023-07-07 11:24:41 -04:00
Jan StienstraandGitHub 1aecbb9bd5 Add full test coverage to Jellyfin (#86974)
* Add full test coverage

* Remove unreachable exception

* Remove comment line. Conflicting with codecov

* Use auto fixture and syrupy
2023-07-07 08:42:02 -04:00
Erik MontnemeryandGitHub 86a397720f Move platform_integration_no_support issue to the homeassistant integration (#95927)
* Move platform_integration_no_support issue to the homeassistant integration

* Update test

* Improve repair text

* Update test
2023-07-07 13:31:54 +02:00
Joost LekkerkerkerandGitHub 84979f8e92 Use device class naming in Renault (#96038) 2023-07-07 10:34:11 +02:00
Scott GiminianiandGitHub 66a1e5c2c1 Remove copy/pasted references to GMail in YouTube integration tests (#96048)
These were likely used as an example when writing the tests for this
component and we missed renaming them.

A few unused vars with references to GMail were also removed.
2023-07-07 06:43:46 +02:00
Mike WoudenbergandGitHub ba1266a893 Add sensors to LOQED integration for battery percentage and BLE stength (#95726)
* Add sensors for battery percentage and BLE stength

* Use translatable name for BLE strength, no longer pass enity to sensor
2023-07-06 23:09:34 -04:00