Commit Graph
18707 Commits
Author SHA1 Message Date
Tobias SauerweinandGitHub 57a6effd70 Fix unreachable Netatmo sensor returning false values (#105954)
* Fix unreachable sensor returning false values

* Clean up unnecessary code
2023-12-18 13:57:34 +01:00
Franck NijhofandGitHub 3c73c0f17f Add reauth support to Tailwind (#105959) 2023-12-18 12:12:56 +01:00
253182c650 Reolink change ir to switch (#105916)
* Change IR from light to switch

* Remove old entity

* Add test

* Apply suggestions from code review

Co-authored-by: Jan-Philipp Benecke <github@bnck.me>

---------

Co-authored-by: Jan-Philipp Benecke <github@bnck.me>
2023-12-18 11:13:20 +01:00
Franck NijhofandGitHub 90fef6b9c9 Add Tailwind zeroconf discovery (#105949) 2023-12-18 10:39:15 +01:00
Klaas SchouteandGitHub e59e1d7f8e Add prices service calls for easyEnergy (#105175) 2023-12-18 09:37:59 +01:00
d50b79ba84 Add Tailwind integration (#105926)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-12-18 08:42:53 +01:00
Brett AdamsandGitHub a88335272a Implement Review Feedback for Tessie (#105937) 2023-12-17 15:33:26 -10:00
J. Nick KostonandGitHub 5c503683b7 Bump lru-dict to 1.3.0 (#105914)
* Bump lru-dict to 1.3.0

changelog: https://github.com/amitdev/lru-dict/compare/v1.2.0...v1.3.0

* fix typing

* quote types

* quote types
2023-12-18 00:16:31 +01:00
Jan-Philipp BeneckeandGitHub 7772f60426 Migrate file test to use freezegun (#105892) 2023-12-17 05:09:10 -10:00
J. Nick KostonandGitHub 89513efd8d Refactor ESPHome Bluetooth connection logic to prepare for esphome-bleak (#105747) 2023-12-17 04:42:28 -10:00
J. Nick KostonandGitHub 537dbd8375 Fix cloud tests doing socket I/O (#105874)
https://github.com/home-assistant/core/actions/runs/7233101649/job/19708631179?pr=105868
https://github.com/home-assistant/core/actions/runs/7232949349?pr=105834

I was hoping to only patch the library, but when I did that it still failed
because it had no access token
2023-12-17 01:23:56 +01:00
Álvaro Fernández RojasandGitHub 3be12c0611 Fix Airzone temperature range on new climate card (#105830)
* airzone: climate: fix double setpoint

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* tests: airzone: fix double setpoint temperature

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* tests: airzone: fix swapped double setpoint

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

---------

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2023-12-16 18:42:58 +01:00
J. Nick KostonandGitHub 755dcd8bc6 Ensure bluetooth auto recovery does not run in tests (#105841) 2023-12-16 06:09:03 -10:00
J. Nick KostonandGitHub 47f8e08261 Reduce overhead to connect dispatcher (#105715)
Reduce overhead connect dispatcher

- We tend to have 1000s (or 10000s) of connected dispatchers which
  makes these prime targets to reduce overhead/memory

- Instead of creating new functions to wrap log exceptions each time
  use partials which reuses the function body and only create new
  arguments

Previous optimizations #103307 #93602
2023-12-16 10:16:58 +01:00
Joseph BlockandGitHub 1271f16385 Add Unifi device state for additional diagnostics (#105138)
* Add device state for additional diagnostics

* Add state test and fix existing tests

* Utilize IntEnum and dict for state lookup

* Update aiounifi to v68
2023-12-16 08:38:21 +01:00
Brett AdamsandGitHub 887f9a21e5 Add Binary Sensor platform to Tessie (#105421) 2023-12-15 18:56:38 -10:00
Álvaro Fernández RojasandGitHub a12c490cff Update aioairzone to v0.7.2 (#105811) 2023-12-15 14:59:43 -10:00
Joost LekkerkerkerandGitHub ef5d9d7377 Partly migrate Plex to has entity name (#98841)
* Partly migrate Plex to has entity name

* Use friendly name for device name

* Lowercase
2023-12-15 08:56:26 +01:00
Jan BouwhuisandGitHub 3f2fc2fce9 Fix mqtt tests modifying globals (#105774) 2023-12-15 08:15:10 +01:00
Erik MontnemeryandGitHub a2b31a06e3 Avoid mutating entity descriptions in solaredge tests (#105718) 2023-12-15 08:10:35 +01:00
Martin HjelmareandGitHub 4da04a358a Refactor cloud assist pipeline (#105723)
* Refactor cloud assist pipeline

* Return None early
2023-12-14 23:56:08 +01:00
Michael HansenandGitHub 6c5ca58405 Set todo item status in intent (#105743) 2023-12-14 22:53:22 +01:00
Franck NijhofandGitHub cc75430af3 Disable user profiles on login screen (#105749) 2023-12-14 20:28:08 +01:00
Charles GarwoodandGitHub 032d120a26 Include Envoy firmware version in Enphase diagnostics (#105742)
* Include Envoy firmware version in Enphase diagnostics

* Update tests
2023-12-14 13:59:39 -05:00
Charles GarwoodandGitHub 40f914214b Fix Fully Kiosk Browser MQTT event callbacks with non-standard event topics (#105735) 2023-12-14 18:59:37 +01:00
J. Nick KostonandGitHub 8d1a69ae84 Migrate ESPHome bleak implementation to bleak-esphome library (#105611) 2023-12-14 07:21:31 -10:00
d4a7361bc6 Bump sunweg to 2.0.1 (#105613)
* chore(sunweg): minor requested changes

* test(sunweg): use of fixtures

* feat(sunweg): provide bad auth result on expired authentication

* chore(sunweg): bump version

* chore(sunweg): removed reauth

* chore(sunweg): removed features out of scope

* chore(sunweg): fixtures moved to conftest.py

* chore(sunweg): devicetype moved to const

* chore(sunweg):  conftest comment

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

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-12-14 16:51:57 +01:00
epenetandGitHub 351b07b14d Fix issue clearing renault schedules (#105719)
* Fix issue clearing renault schedules

* Adjust
2023-12-14 12:54:03 +01:00
Erik MontnemeryandGitHub 9095027363 Avoid mutating entity descriptions in efergy tests (#105717) 2023-12-14 12:48:15 +01:00
Brig LamoreauxandGitHub 7721840298 Allow multiple configs for srp energy (#96573)
* Allow multiple configs.

* Rename test configs.

* Remove unused property

* Merge branch 'dev' into srp_energy_202307.coordinator

* Use title in device name.
2023-12-14 11:07:13 +01:00
Martin HjelmareandGitHub 2e448d2d13 Remove cloud details from assist pipeline (#105687)
* Remove cloud details from assist pipeline

* Update assist pipeline tests

* Update cloud tests
2023-12-14 10:15:59 +01:00
Erik MontnemeryandGitHub 9020dbb093 Remove context_recent_time property from entity base class (#105652) 2023-12-14 08:33:31 +01:00
G JohanssonandGitHub 65514fbd73 Add error translations for Sensibo (#105600) 2023-12-13 19:40:57 +01:00
Jan-Philipp BeneckeandGitHub d322cb5fdf Migrate homekit_controller tests to use freezegun (#105646) 2023-12-13 19:37:51 +01:00
Erik MontnemeryandGitHub dd5a48996a Keep capabilities up to date in the entity registry (#101748)
* Keep capabilities up to date in the entity registry

* Warn if entities update their capabilities very often

* Fix updating of device class

* Stop tracking capability updates once flooding is logged

* Only sync registry if state changed

* Improve test

* Revert "Only sync registry if state changed"

This reverts commit 1c52571596c06444df234d4b088242b494b630f2.

* Avoid calculating device class twice

* Address review comments

* Revert using dataclass

* Fix unintended revert

* Add helper method
2023-12-13 17:27:26 +01:00
Erik MontnemeryandGitHub 4f9f548929 Add volume_step property to MediaPlayerEntity (#105574)
* Add volume_step property to MediaPlayerEntity

* Improve tests

* Address review comments
2023-12-13 17:26:34 +01:00
puddlyandGitHub 4e9b9add29 Bump ZHA dependencies (#105661) 2023-12-13 17:06:46 +01:00
Joost LekkerkerkerandGitHub a82410d5e9 Deduplicate constants E-Z (#105657) 2023-12-13 17:05:37 +01:00
Joost LekkerkerkerandGitHub e4453ace88 Add country code constant (#105640) 2023-12-13 16:50:46 +01:00
puddlyandGitHub e475829ce6 Reload ZHA integration on any error, not just recoverable ones (#105659) 2023-12-13 16:24:26 +01:00
Erik MontnemeryandGitHub dff7725c1f Fix goodwe tests (#105653) 2023-12-13 14:52:44 +01:00
Jan-Philipp BeneckeandGitHub 61a99c911c Migrate demo test to use freezegun (#105644) 2023-12-13 14:33:59 +01:00
Joost LekkerkerkerandGitHub ac53b78a0c Deduplicate constants A-D (#105638) 2023-12-13 14:21:44 +01:00
Martin HjelmareandGitHub 02853a62f0 Clean cloud client fixture from cloud http api tests (#105649) 2023-12-13 14:21:33 +01:00
Martin HjelmareandGitHub 5bb233998e Improve cloud http api tests (#105610)
* Improve cloud http api tests

* Add comments to the cloud fixture

* Fix docstring
2023-12-13 13:53:22 +01:00
mletenayandGitHub 0548f9f342 Add diagnostics download to goodwe integration (#102928)
* Add diagnostics download to goodwe integration

* Revert change not related to test

* Use MagicMock for mock inverter

* Use spec with mock
2023-12-13 12:35:53 +01:00
Joost LekkerkerkerandGitHub 22b2c588eb Use issue registry fixture (#105633) 2023-12-13 11:23:38 +01:00
Joost LekkerkerkerandGitHub 06f81251fb Reduce code duplication in Suez config flow (#105558) 2023-12-13 10:41:35 +01:00
Erik MontnemeryandGitHub 22c3847c0e Allow inheriting FrozenOrThawed with custom init (#105624) 2023-12-13 10:13:34 +01:00
J. Nick KostonandGitHub 5dbd0dede1 Refactor Bluetooth scanners to avoid the need to pass a callback (#105607) 2023-12-13 09:17:48 +01:00