Commit graph

78037 commits

Author SHA1 Message Date
epenet
f120f55d86
Move enable_bluetooth fixture to decorator (#118803) 2024-06-04 16:20:11 +02:00
epenet
3d31af3eb4
Move entity_registry_enabled_by_default to decorator [a-p] (#118794) 2024-06-04 16:18:42 +02:00
epenet
089874f818
Move mock_hass_config fixture to decorator (#118807) 2024-06-04 16:05:56 +02:00
Joost Lekkerkerker
2ac5f8db06
Set unique id in aladdin connect config flow (#118798) 2024-06-04 16:00:53 +02:00
Richard Kroegel
1eb13b48a2
Add tests for BMW binary_sensor and lock (#118436)
* BMW: Add tests for binary_sensor & lock

* Use entity_registry_enabled_by_default fixture

* Update tests/components/bmw_connected_drive/test_binary_sensor.py

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

* Move fixtures to decorator

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

* Use fixture decorators if possible

* Fix rebase

* Spelling adjustments

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

* Use snapshot_platform helper

* Spelling

* Remove comment

---------

Co-authored-by: Richard <rikroe@users.noreply.github.com>
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2024-06-04 15:08:15 +02:00
Markus Jacobsen
67e9e90346
Bang & Olufsen add overlay/announce play_media functionality (#113434)
* Add overlay service

* Convert custom service to play_media announce

* Remove debugging
2024-06-04 13:48:22 +02:00
Joost Lekkerkerker
0aac4b26a4
Make Weatherflow a brand (#118785) 2024-06-04 13:40:48 +02:00
Joost Lekkerkerker
1877c1eec9
Make Ruuvi a brand (#118786) 2024-06-04 13:40:06 +02:00
epenet
20b5aa3e0e
Move entity_registry_enabled_by_default to decorator [q-z] (#118793) 2024-06-04 13:38:32 +02:00
epenet
3ac0fa53c8
Cleanup unused FixtureRequest in tests (#118780) 2024-06-04 11:49:21 +02:00
Joost Lekkerkerker
fce5f2a93f
Move Aladdin stale device removal to init module (#118784) 2024-06-04 11:34:21 +02:00
Erik Montnemery
c0912a019c
Deduplicate light services.yaml (#118738)
* Deduplicate light services.yaml

* Remove support for .-keys
2024-06-04 11:30:34 +02:00
Joost Lekkerkerker
7ed119b0b6
Re-enable sensor platform for Aladdin Connect (#118782) 2024-06-04 11:04:10 +02:00
dependabot[bot]
d905542f49
Bump dawidd6/action-download-artifact from 3.1.4 to 4 (#118772)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-04 11:00:00 +02:00
Alexandre CUER
a1e4d4ddd7
Remove duplicate code in emoncms (#118610)
* Remove duplicate & property extra_state_attributes

* Add methods _update_attributes and _update_value

* correction in _update_value

* Update homeassistant/components/emoncms/sensor.py

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

* Update homeassistant/components/emoncms/sensor.py

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

* Update homeassistant/components/emoncms/sensor.py

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

* Update homeassistant/components/emoncms/sensor.py

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

---------

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2024-06-04 10:56:43 +02:00
Joost Lekkerkerker
43a9a4f9ed
Bump airgradient to 0.4.3 (#118776) 2024-06-04 10:53:16 +02:00
Joost Lekkerkerker
e9f01be090
Add coordinator to Aladdin Connect (#118781) 2024-06-04 10:51:28 +02:00
Aidan Timson
42414d55e0
Azure DevOps build sensor attributes to new sensors (#114948)
* Setup for split

* Adjust to allow for None

* Create

* Add missing

* Fix datetime parsing in Azure DevOps sensor

* Remove definition id and name

These aren't needed and will never change

* Add tests for each sensor

* Add tests for edge cases

* Rename translations

* Update

* Use base sensor descriptions

* Remove

* Drop status

using this later for an event entity

* Switch to timestamp

* Switch to timestamp

* Merge

* Update snapshot

* Improvements from @joostlek

* Update homeassistant/components/azure_devops/sensor.py

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-06-04 10:50:43 +02:00
Mr. Bubbles
7815840194
Add ista EcoTrend integration (#118360)
* Add ista EcoTrend integration

* move code out of try

* Use account owners name as entry title

* update config flow tests

* add tests for init

* Add reauth flow

* Add tests for sensors

* add translations for reauth

* trigger statistics import on first refresh

* Move statistics and reauth flow to other PR

* Fix tests

* some changes

* draft_final_final

* remove unnecessary icons

* changed tests

* move device_registry test to init

* add text selectors
2024-06-04 10:45:53 +02:00
epenet
b54a68750b
Add type hints for FixtureRequest in tests (#118779) 2024-06-04 10:37:54 +02:00
Joost Lekkerkerker
16fd19f01a
Use model from Aladdin Connect lib (#118778)
* Use model from Aladdin Connect lib

* Fix
2024-06-04 10:29:51 +02:00
Joost Lekkerkerker
da408c6703
Initial cleanup for Aladdin connect (#118777) 2024-06-04 10:13:31 +02:00
Richard Kroegel
7fb2802910
Allow per-sensor unit conversion on BMW sensors (#110272)
* Update BMW sensors to use device_class

* Test adjustments

* Trigger CI

* Remove unneeded cast

* Set suggested_display_precision to 0

* Rebase for climate_status

* Change charging_status to ENUM device class

* Add test for Enum translations

* Pin Enum sensor values

* Use snapshot_platform helper

* Remove translation tests

* Formatting

* Remove comment

* Use const.STATE_UNKOWN

* Fix typo

* Update strings

* Loop through Enum sensors

* Revert enum sensor changes

---------

Co-authored-by: Richard <rikroe@users.noreply.github.com>
2024-06-04 09:06:23 +02:00
starkillerOG
cba07540e9
Bump reolink-aio to 0.9.1 (#118655)
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-06-04 08:00:40 +02:00
Aaron Bach
d43d12905d
Don't require code to arm SimpliSafe (#118759) 2024-06-04 07:20:37 +02:00
J. Nick Koston
553311cc7d
Add os.walk to asyncio loop blocking detection (#118769) 2024-06-04 06:53:37 +02:00
Joakim Sørensen
53ab215dfc
Update hass-nabucasa to version 0.81.1 (#118768) 2024-06-04 06:27:54 +02:00
Jan Bouwhuis
e799270578
Recover mqtt abbrevations optimizations (#118762)
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-06-04 06:20:18 +02:00
Michael Hansen
289263087c
Bump intents to 2024.6.3 (#118748) 2024-06-03 22:47:09 -04:00
Michael Hansen
0257aa4839
Clean up exposed domains (#118753)
* Remove lock and script

* Add media player

* Fix tests
2024-06-03 21:26:40 -05:00
J. Nick Koston
35a1ecea27
Speed up statistics_during_period websocket api (#118672) 2024-06-03 18:08:46 -05:00
Jan Bouwhuis
2c206c18d4
Do not log mqtt origin info if the log level does not allow it (#118752) 2024-06-03 23:38:31 +02:00
Jan Bouwhuis
39f5f30ca9
Revert "Allow MQTT device based auto discovery" (#118746)
Revert "Allow MQTT device based auto discovery (#109030)"

This reverts commit 585892f067.
2024-06-03 22:30:37 +02:00
Paulus Schoutsen
035e19be01
Google Gen AI: Copy messages to avoid changing the trace data (#118745) 2024-06-03 22:29:50 +02:00
Paulus Schoutsen
299c0de968
Update OpenAI prompt on each interaction (#118747) 2024-06-03 22:27:05 +02:00
David Bonnes
8ea3a6843a
Harden evohome against failures to retrieve zone schedules (#118517) 2024-06-03 21:48:48 +02:00
Jan Bouwhuis
ff27f8ef10
Add device info to incomfort entities (#118741)
* Add device info to incomfort entities

* Add DOMAIN import
2024-06-03 21:30:13 +02:00
Joost Lekkerkerker
2a92f78453
Require firmware version 3.1.1 for airgradient (#118744) 2024-06-03 21:08:28 +02:00
Jan Bouwhuis
dd1dd4c6a3
Migrate Intergas InComfort/Intouch Lan2RF gateway YAML to config flow (#118642)
* Add config flow

* Make sure the device is polled - refactor

* Fix

* Add tests config flow

* Update test requirements

* Ensure dispatcher has a unique signal per heater

* Followup on review

* Follow up comments

* One more docstr

* Make specific try blocks and refactoring

* Handle import exceptions

* Restore removed lines

* Move initial heater update in try block

* Raise issue failed import

* Update test codeowners

* Remove entity device info

* Remove entity device info

* Appy suggestions from code review

* Remove broad exception handling from entry setup

* Test coverage
2024-06-03 20:37:48 +02:00
Michael Hansen
aac31059b0
Resolve areas/floors to ids in intent_script (#118734) 2024-06-03 20:29:26 +02:00
J. Nick Koston
588380392d
Small speed up to read-only database sessions (#118674) 2024-06-03 19:50:05 +02:00
tronikos
f9dff1632e
Use ISO format when passing date to LLMs (#118705) 2024-06-03 19:48:50 +02:00
Richard Kroegel
60bcd27a47
Use snapshot_platform helper for BMW tests (#118735)
* Use snapshot_platform helper

* Remove comments

---------

Co-authored-by: Richard <rikroe@users.noreply.github.com>
2024-06-03 19:46:04 +02:00
Paulus Schoutsen
3cc13d454f
Remove dispatcher from Tag entity (#118671)
* Remove dispatcher from Tag entity

* type

* Don't use  helper

* Del is faster than pop

* Use id in update

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2024-06-03 20:39:40 +03:00
David Knowles
ebe4888c21
Bump pydrawise to 2024.6.2 (#118608) 2024-06-03 19:29:20 +02:00
Bram Kragten
049cac3443
Update frontend to 20240603.0 (#118736) 2024-06-03 19:25:01 +02:00
Joost Lekkerkerker
16485af7fc
Configure device in airgradient config flow (#118699) 2024-06-03 19:23:07 +02:00
Diogo Gomes
91ca7db02f
Address reviews comments in #117147 (#118714) 2024-06-03 19:22:00 +02:00
mkmer
ca1ed6f610
Remove unintended translation key from blink (#118712) 2024-06-03 19:13:18 +02:00
J. Nick Koston
9cb113e5d4
Convert mqtt to use a timer instead of task sleep loop (#118666) 2024-06-03 11:19:19 -05:00