Commit Graph

79052 Commits (9002d85f9b7d33700435b758bf7c481cd0b64e04)

Author SHA1 Message Date
Robert Svensson 49349de74e
Unifi break out switch availability test to separate test (#119990) 2024-06-19 22:40:13 +02:00
Joost Lekkerkerker 52bf3a028f
Move Nanoleaf event canceling (#119909)
* Move Nanoleaf event canceling

* Fix

* Fix
2024-06-19 22:16:16 +02:00
J. Nick Koston d9c7887bbf
Update yalexs to 6.4.0 (#119987) 2024-06-19 14:11:36 -05:00
Pete Sage 528422d238
Address Hydrawise review (#119965)
adjust formatting
2024-06-19 20:37:26 +02:00
Franck Nijhof 6c80f865f5
Remove deprecated WLED binary sensor platform (#119984) 2024-06-19 20:29:40 +02:00
Erik Montnemery 5ee418724b
Tweak type annotations of energy websocket handlers (#119957) 2024-06-19 20:01:02 +02:00
epenet f0dc39a903
Improve typing in core tests (#119958)
Add missing return values in core tests
2024-06-19 19:58:07 +02:00
G Johansson 8e3b58dc28
Clean weather tests (#119916) 2024-06-19 19:55:20 +02:00
Jan Bouwhuis 8ad63a0020
Fix flaky todoist test (#119954)
Fix flakey todoist test
2024-06-19 20:43:05 +03:00
Robert Svensson 970836da0c
Clean up config option tests in UniFi device tracker tests (#119978) 2024-06-19 19:42:23 +02:00
Joost Lekkerkerker 6fa54229fe
Bump airgradient to 0.6.0 (#119962)
* Bump airgradient to 0.6.0

* Bump airgradient to 0.6.0

* Bump airgradient to 0.6.0

* Bump airgradient to 0.6.0
2024-06-19 20:38:57 +03:00
Bouwe Westerdijk e1f244e1c2
Bump plugwise to v0.37.4.1 (#119963)
* Bump plugwise to v0.37.4

* bump plugwise to v0.37.4.1
2024-06-19 19:23:14 +02:00
Tsvi Mostovicz 9371277b85
Bump hdate to 0.10.9 (#119887) 2024-06-19 09:21:43 -05:00
J. Nick Koston 87e52bb660
Small cleanups to august (#119950) 2024-06-19 09:21:04 -05:00
epenet 52bc006a72
Update default pylint.importStrategy in dev container (#119900) 2024-06-19 11:27:01 +02:00
Jan Bouwhuis 854b6c99fe
Address review on comment group registry maintenance (#119952)
Address late review on comment group registry maintenance
2024-06-19 10:51:56 +02:00
J. Nick Koston a642454e6f
Bump sqlalchemy to 2.0.31 (#119951) 2024-06-19 08:09:04 +02:00
J. Nick Koston 5ae13c2ae2
Make use_device_name a cached_property in the base entity class (#119758)
There is a small risk that _attr_name or entity_description
would not be set before state was first written, but that
would likely be a bug.
2024-06-18 21:52:36 -04:00
J. Nick Koston 6a3778c48e
Deprecate register_static_path in favor of async_register_static_paths (#119895)
* Deprecate register_static_path in favor of async_register_static_path

`hass.http.register_static_path` is deprecated because it does blocking I/O in the event loop, instead call `await hass.http.async_register_static_path([StaticPathConfig(url_path, path, cache_headers)])`

The arguments to `async_register_static_path` are the same as `register_static_path` except they are wrapped in the `StaticPathConfig` dataclass and an iterable of them is accepted to allow registering multiple paths at once to avoid multiple executor jobs.

* add date

* spacing
2024-06-18 21:51:24 -04:00
J. Nick Koston b11801df50
Reduce code needed to set august unique ids (#119942)
* Reduce code needed to set august unique ids

Set the unique ids in the base class since they always
use the same format

* Reduce code needed to set august unique ids

Set the unique ids in the base class since they always
use the same format
2024-06-18 21:43:06 -04:00
J. Nick Koston f88b24f8a4
Combine statements that return the same result in august binary_sensor (#119944) 2024-06-18 21:40:21 -04:00
J. Nick Koston c686eda305
Reduce duplicate code in baf for entities with descriptions (#119945)
* Reduce duplicate code in baf for entities with descriptions

* Reduce duplicate code in baf for entities with descriptions

* no cover

* no cover
2024-06-18 21:39:32 -04:00
Joakim Plate ef51fc0d97
Remove code slated for deletion in integral (#119935)
* Remove code slated for deletion in integral
2024-06-19 02:25:11 +02:00
J. Nick Koston 60e64d14af
Bump yalexs to 6.3.0 to move camera logic to the lib (#119941) 2024-06-18 18:52:41 -05:00
J. Nick Koston 8f3dcd6557
Cleanup august dataclasses (#119938) 2024-06-18 18:21:19 -05:00
J. Nick Koston 025d861e67
Update yalexs to 6.1.0 (#119910) 2024-06-18 17:36:07 -05:00
J. Nick Koston 39e5e517b0
Small cleanups to august (#119931) 2024-06-18 17:35:55 -05:00
J. Nick Koston 98140e0171
Reduce duplicate code in august to create entities (#119934) 2024-06-18 17:35:38 -05:00
Maciej Bieniek 54f8b5afdf
Add pulse counter frequency sensors to Shelly (#119898)
* Add pulse counter frequency sensors

* Cleaning

---------

Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-06-18 23:08:30 +02:00
J. Nick Koston 3d45ced02e
Cleanup code to add august sensors (#119929) 2024-06-18 16:03:46 -05:00
J. Nick Koston b8cafe7e5e
Small cleanups to august (#119912) 2024-06-18 15:43:16 -05:00
Joost Lekkerkerker 8a38424c24
Add more airgradient configuration entities (#119191) 2024-06-18 22:34:11 +02:00
Jeef f0026d171e
Bump weatherflow4py to 0.2.21 (#119889) 2024-06-18 15:31:59 -05:00
Franck Nijhof b419ca2241
Register Z-Wave services on integration setup (#119924) 2024-06-18 22:27:52 +02:00
G Johansson fe8805de6d
Remove deprecated blink refresh service (#119919)
* Remove deprecated blink refresh service

* Remove string

* Fix tests
2024-06-18 22:26:44 +02:00
Shay Levy f61347719f
Allow removal of a Switcher device (#119927)
Allow removal of Switcher device
2024-06-18 23:26:29 +03:00
G Johansson 08864959ee
Remove YAML import for Suez Water (#119923)
Remove YAML import for suez water
2024-06-18 22:26:10 +02:00
HarvsG adcd0cc2a4
DNS IP custom ports for IPv4 (#113993)
* squash DNS IP enable port

* linting

* fix config entries in tests.

* fix more config entries

* fix parameter order

* Add defaults for legacy config entries

* test legacy config are not broken

* test driven migration

* define versions for future proofing

* remove defaults as should be covered by migrations in the future

* adds config migration

* spacing

* Review: remove unnecessary statements

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

* Apply suggestions from code review

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

* make default ports the same

* test migration from future error

* linting

* Small tweaks

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2024-06-18 22:24:36 +02:00
G Johansson 9723b97f4b
Bump python-holidays to 0.51 (#119918) 2024-06-18 22:05:11 +02:00
Thomas55555 0a781b8fa2
Add button platform to Husqvarna Automower (#119856)
* Add button platform to Husqvarna Automower

* test coverage

* adapt to library changes

* Address review
2024-06-18 21:24:09 +02:00
Joost Lekkerkerker 484a24512c
Bump airgradient to 0.5.0 (#119911) 2024-06-18 20:51:54 +02:00
MallocArray be4db90c91
Update airgradient names to NOx index and VOC index (#119152)
* Update names to NOx index and VOC index

* Fix snapshots

* Fix snapshots

---------

Co-authored-by: Joostlek <joostlek@outlook.com>
2024-06-18 20:31:33 +02:00
epenet ec9f2f698c
Add type hints to MockGroup and MockUser in tests (#119897) 2024-06-18 13:11:10 -05:00
Jan Bouwhuis 66faeb28d7
Fix late group platform registration (#119789)
* Fix late group platform registration

* use a callback instead

* Run thread safe

* Not working domain filter

* Also update if a group has nested group's

* Only update if the siingle state type key could change

* Avoid redundant regisister hooks

* Use set, add comment

* Revert changes

* Keep callback cleanup const

* Cleanup after dependencies

* Preimport and cleanup excluded domains

* Revert test changes as we assume early set up now

* Migrate alarm_control_panel

* Migrate climate

* Migrate cover

* Migrate device_tracker

* Migrate lock

* Migrate media_player

* Migrate person

* Migrate plant

* Migrate vacuum

* Migrate water_heater

* Remove water_heater group_pre_import

* Use Platform enum if possible

* Also use platform enum for excluded domains

* Set registry to self._registry

* move deregistering call back hook to async_added_to_hass

* Add comment

* Do no pass mutable reference to EXCLUDED_DOMAINS

* Remove unneeded type hint
2024-06-18 20:01:16 +02:00
Joost Lekkerkerker edb391a0bd
Extract coordinator to separate module in Nanoleaf (#119896)
* Extract coordinator to separate module in Nanoleaf

* Extract coordinator to separate module in Nanoleaf

* Extract coordinator to separate module in Nanoleaf
2024-06-18 19:50:07 +02:00
J. Nick Koston 419dcbf9a1
Fix typo in KEY_ALLOW_CONFIGRED_CORS (#119905) 2024-06-18 12:44:27 -05:00
J. Nick Koston d2faaa1531
Remove useless function get_ufp_event from unifiprotect (#119906) 2024-06-18 12:29:26 -05:00
J. Nick Koston 407df2aedf
Small cleanup to unifiprotect entity descriptions (#119904) 2024-06-18 12:08:22 -05:00
Joost Lekkerkerker e0de436a58
Add myself as codeowner for Nanoleaf (#119892) 2024-06-18 12:03:30 -05:00
Erik Montnemery 7940303149
Add WS command frontend/subscribe_extra_js (#119833)
Co-authored-by: Robert Resch <robert@resch.dev>
2024-06-18 16:18:42 +02:00