Commit graph

82613 commits

Author SHA1 Message Date
Phill (pssc)
a16ef5b7ff
Add squeezebox service sensors (#125349)
* Add server sensors

* Fix Platforms order

* Fix spelling

* Fix translations

* Add sensor test

* Case changes

* refactor to use native_value attr override

* Fix typing

* Fix cast to type

* add cast

* use update platform for LMS versions

* Fix translation

* remove update entity

* remove possible update entites

* Fix and clarify

* update to icon trans remove update plaform entitiy supporting items

* add UOM to sensors

* correct criptic prettier fail

* reword other players

* Apply suggestions from code review

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-09-10 17:17:26 +02:00
Kristof Mattei
300445948e
Fix Lyric climate Auto mode (#123490)
fix: Lyric has an actual "Auto" mode that is exposed if the device has an Auto mode.
2024-09-10 17:06:25 +02:00
Krzysztof Dąbrowski
8324360045
Add Roomba last mission sensor (#123048)
* Roomba: add last mission sensor

* Set sensor as unavailable if last mission timestamp is 0

Previously, if the `mssnStrtTm` was 0, the function would return a 1970-01-01 (Unix epoch start date). With this change, the function will return None if the timestamp is 0 and the sensor will become unavailable.

* Update last_mission property to use dt_util.utc_from_timestamp
2024-09-10 17:04:25 +02:00
Jeef
2d0ccf84f9
Bump weatherflow4py to 0.3.3 (#125676)
version bump
2024-09-10 17:04:10 +02:00
Erik Montnemery
ebd2034564
Disable sfr_box diagnostic test (#125678) 2024-09-10 16:51:32 +02:00
Louis Christ
5852917a10
Replace Throttle in bluesound integration (#124943)
* Replace Throttle with throttled and long-polling

* Remove custom throttled
2024-09-10 16:43:10 +02:00
Adam Goode
a361c01ed6
Parameterize many of the threshold tests (#125521)
threshold: Parameterize many of the tests

This simplfies the structure of the basic threshold tests,
making it easier to subsequently update or add missing test cases.

Except for a few removals of an inconsistenly applied assertions on
`state.attributes["sensor_value"]`, there are no changes to the existing
tests intended. All previous tests are expected to run identically.

A few extra test cases for None are added.
2024-09-10 16:16:45 +02:00
silentguy256
379a8f2f86
Add state_class to OHM sensors (#125567)
* Minimum change required to get OHW into statistics

Not sure if there is any reason not to have this, my only idea would be that there would be that there are A LOT of values, but as far as I can see there are already long term data being stored about them anyway

* Update sensor.py

Guess that was an old way of doing it -_-

* Update sensor.py

remove spaces the break ruff -_-

* Update sensor.py

ruff is rough
2024-09-10 16:10:36 +02:00
Joost Lekkerkerker
d8bb8f1efb
Deprecate Daikin YAML platform setup (#125158) 2024-09-10 15:58:53 +02:00
RJPoelstra
db61f8a0fa
Bump python-MotionMount to 2.1.0 (#125660) 2024-09-10 15:58:20 +02:00
Adam Pasztor
e261a159d5
Add new functions to ADS sensor integration (#125331)
* feat: Add new functions to ADS sensor integration

* fix: use constant for SensorDeviceClass, refactor entity initialisation.

* fix: add python typing.

* refactor: value conversion based on ADS_TYPE, and in the dedicated data fetching method.

* fix: removed unnecessary sensor types.

* refactor: optimised the usage of device classes and added state classes. removed unit of measurement

* fix: added unit of measurement to ADS sensor

* fix: addressing review suggestions.

* fix: address review suggestions.
2024-09-10 15:51:15 +02:00
René Honig
337335bfad
Add Human Shape Detect to ONVIF (#125335)
added Humap Shape Detect
2024-09-10 15:39:53 +02:00
Thomas55555
ed907da190
Bump aioautomower to 2024.9.0 (#125647)
bump aioautomower to 2024.9.0
2024-09-10 15:38:18 +02:00
Markus Jacobsen
3ea4c3b8bf
Fix malformed response in Bang & Olufsen testing (#125658)
Fix malformed SoftwareUpdateStatus object
2024-09-10 15:36:25 +02:00
epenet
afeab659e1
Rename Entity module in tellduslive (#125668) 2024-09-10 15:34:30 +02:00
Joost Lekkerkerker
130b6559a6
Add coordinator to Daikin (#124394)
* Add coordinator to Daikin

* Add coordinator to Daikin

* Fix

* Add seconds
2024-09-10 15:30:30 +02:00
epenet
97c55ae6f1
Warn on non-string config entry unique IDs (#125662)
* Warn on non-string config entry unique IDs

* Add comment

* isinstance
2024-09-10 15:30:03 +02:00
Robert Resch
67dc870e52
Bump uv to 0.4.8 (#124867) 2024-09-10 15:28:17 +02:00
epenet
2f38731f62
Migrate wolflink config_entry unique_id to string (#125653)
* Migrate wolflink config_entry unique_id to string

* Move CONFIG to const

* isinstance

* Migrate identifiers

* Use async_migrate_entry
2024-09-10 15:16:26 +02:00
epenet
745a05d984
Move Hub and Entity to separate module in ADS (#125665)
* Move Hub and Entity to separate module in ADS

* Missed one
2024-09-10 15:02:09 +02:00
Robert Resch
7f7db4efb6
Disable ThermoWorks Smoke due incompatible dependencies (#125661) 2024-09-10 14:52:03 +02:00
Robert Resch
da81efe9c1
Disable fail-fast on publish container jobs (#125245) 2024-09-10 13:43:25 +02:00
Erik Montnemery
99122fcb78
Remove recorder history queries for database schemas < 25 (#125649) 2024-09-10 12:43:08 +02:00
Sergey Dudanov
dcd7830a35
Add calories to energy sensor device class (#122796)
* added calories to energy class

* changes

* temporarily solving the problem with conversion accuracy

* add tests

* added calories to energy class

* changes

* add tests

* Update homeassistant/util/unit_conversion.py

Co-authored-by: Robert Resch <robert@resch.dev>

* Update homeassistant/util/unit_conversion.py

Co-authored-by: Robert Resch <robert@resch.dev>

* apply suggestions

* Update homeassistant/util/unit_conversion.py

---------

Co-authored-by: Robert Resch <robert@resch.dev>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-09-10 12:22:15 +02:00
RJPoelstra
9f284c0582
Add model_id to MotionMount integration (#125650) 2024-09-10 11:44:17 +02:00
epenet
9616d68e03
Improve config flow type hints in yeelight (#125319) 2024-09-10 11:42:44 +02:00
LG-ThinQ-Integration
cb97085e48
Create property_ids with ActiveMode in LG ThinQ integration (#125638)
* Bump thinqconnect to 0.9.7

* Pass a r/w parameter to get active properties id from the cloud

---------

Co-authored-by: jangwon.lee <jangwon.lee@lge.com>
2024-09-10 10:59:07 +02:00
LG-ThinQ-Integration
7eba111704
Bump thinqconnect to 0.9.7 (#125587)
Co-authored-by: jangwon.lee <jangwon.lee@lge.com>
2024-09-10 10:32:58 +02:00
G Johansson
3cc5a29c1b
Link mold_indicator entity to device from humidity sensor (#125528) 2024-09-10 08:42:22 +02:00
epenet
2fa0f283ea
Add alias to DOMAIN import in config and demo (#125570) 2024-09-10 08:41:47 +02:00
epenet
7e2e3c4780
Rename HassEnforceCoordinatorModule (#125592) 2024-09-10 08:40:49 +02:00
J. Nick Koston
4c59bae1d2
Remove myself from codeowner from lutron_caseta (#125609) 2024-09-10 08:40:18 +02:00
epenet
675c467e12
Add alias to DOMAIN import (part 2) (#125561) 2024-09-10 08:40:02 +02:00
epenet
130e7317bc
Add alias to DOMAIN import (part 3) (#125562) 2024-09-10 08:39:19 +02:00
J. Nick Koston
bb56610093
Make auth safe params a frozenset (#125640) 2024-09-10 08:37:50 +02:00
Michael Hansen
bd5892f2a6
Set responding state in assist satellite announcements (#125632)
Set responding state in announcements
2024-09-10 08:22:14 +02:00
dependabot[bot]
06e83340e8
Bump actions/attest-build-provenance from 1.4.2 to 1.4.3 (#125390)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-10 08:16:04 +02:00
J. Nick Koston
7508a2b383
Bump yarl to 1.1.11 (#125633)
changelog: https://github.com/aio-libs/yarl/compare/v1.11.0...v1.11.1
2024-09-10 00:38:59 -04:00
Paul Bottein
f1e4229b23
Update frontend to 20240909.1 (#125610) 2024-09-09 16:33:08 -04:00
Klaas Schoute
c9a936f375
Catch Forecast.solar ConnectionError when API down (#125621)
Catch Forecast.solar connection errors
2024-09-09 16:32:51 -04:00
epenet
ce4a62574a
Add alias to DOMAIN import (part 1) (#125560)
* Add alias to DOMAIN import (part 1)

* Revert tomato/xiaomi
2024-09-09 22:05:27 +02:00
epenet
e750f8f457
Add alias to DOMAIN import (part 4) (#125563)
* Add alias to DOMAIN import (part 4)

* Simplify

* More integration

* Apply suggestions from code review

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

* Revert "Apply suggestions from code review"

This reverts commit 07471d3629.

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2024-09-09 21:32:33 +02:00
Erik Montnemery
ded34561b1
Simplify cv._base_trigger_list_flatten (#125613) 2024-09-09 21:14:41 +02:00
epenet
e0a221ba1f
Add alias to DOMAIN import in deconz (#125568) 2024-09-09 19:27:06 +02:00
Martin Hjelmare
c5453835c2
Bump aioopenexchangerates to 0.6.2 (#125593) 2024-09-09 17:36:19 +02:00
Robert Resch
0459596e97
Enable hadolint for hassfest docker image and adjust hadolint job (#125146) 2024-09-09 16:02:44 +02:00
epenet
6ea59ffa94
Add alias to DOMAIN import in tests [h-m] (#125577)
* Add alias to DOMAIN import in tests [h-m]

* Revert changes to mqtt
2024-09-09 15:21:01 +02:00
epenet
aab939cf6c
Add alias to DOMAIN import in tests [a-d] (#125573) 2024-09-09 15:20:40 +02:00
epenet
fe2402b611
Add alias to DOMAIN import in tests [e-g] (#125575) 2024-09-09 15:18:28 +02:00
epenet
029dbe7d94
Add alias to DOMAIN import in homekit (#125572) 2024-09-09 15:14:35 +02:00