Commit graph

16389 commits

Author SHA1 Message Date
Jesse Hills
4c21aa18db
Add audio_settings for pipeline from ESPHome device ()
* Add audio_settings for pipeline from ESPHome device

* ruff fixes

* Bump aioesphomeapi 17.0.0

* Mypy

* Fix tests

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-09-26 16:27:26 -05:00
Michael Hammer
f899e5159b
KNX: Provide project data and parser version via websocket ()
* feat(knxproject-explore): providing knxproject via websocket, also xknxproject version in info mesage

* feat(knxproject-explore): adding test case

* reverted back adding of xknxproject version

* fix(): Enriching get project test case to check against FIXTURE

* feat(knxproject-explore): providing knxproject via websocket, also xknxproject version in info mesage

* feat(knxproject-explore): adding test case

* reverted back adding of xknxproject version

* fix(): Enriching get project test case to check against FIXTURE
2023-09-26 23:17:37 +02:00
Raman Gupta
176f5dc2d6
Bump zwave-js-server-python to 0.52.0 ()
* Bump zwave-js-server-python to 0.52.0

* remove old function

* fix tests
2023-09-26 17:05:54 -04:00
Joost Lekkerkerker
0f95de997f
Support cloudhooks in Withings ()
* Support cloudhooks in Withings

* Support cloudhooks in Withings

* Support cloudhooks in Withings

* Remove strings
2023-09-26 21:52:18 +02:00
Erik Montnemery
b281fa17fc
Simplify wake_word/info + improve test coverage ()
* Simplify wake_word/info + improve test coverage

* Fix test

* Revert unrelated changes
2023-09-26 14:07:27 -05:00
Edouard Lafargue
4028596977
Add Medcom Bluetooth integration ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-09-26 13:41:34 -05:00
Erik Montnemery
a9bcfe5700
Abort wake word detection when assist pipeline is modified () 2023-09-26 20:24:55 +02:00
Simone Chemelli
e18ff03244
Improve Vodafone Station setup dialog messages () 2023-09-26 20:16:50 +02:00
Olen
e921e4a662
Move fetching of sw_version for Twinkly () 2023-09-26 20:04:17 +02:00
Jan-Philipp Benecke
d94b09655b
Use snapshot assertion for wiz diagnostics test () 2023-09-26 20:03:22 +02:00
Joost Lekkerkerker
9be5005a70
Use automatic title during config flow setup in Aurora () 2023-09-26 20:00:23 +02:00
Joost Lekkerkerker
bc665a1368
Remove setting name in AnthemAV config flow () 2023-09-26 19:58:47 +02:00
Jan Bouwhuis
20a2e129fb
Intialize mqtt lock in an unknown state in pessimistic mode ()
Intialize mqtt lock as unknown in pessimistic mode
2023-09-26 19:53:45 +02:00
Erik Montnemery
734c4e8e32
Rename WakeWord.ww_id to WakeWord.id ()
* Rename WakeWord.ww_id to WakeWord.wake_word_id

* Revert unrelated changes

* Rename to id

* Correct rebase
2023-09-26 19:12:16 +02:00
Joost Lekkerkerker
074eb966dd
Add config flow to AfterShip ()
* Add config flow to Aftership

* Add config flow to Aftership

* Fix schema

* Update homeassistant/components/aftership/strings.json

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

* Fix feedback

---------

Co-authored-by: Robert Resch <robert@resch.dev>
2023-09-26 18:05:23 +02:00
Michael
18fad569e0
Add support to remove orphan devices in AVM FRITZ!SmartHome () 2023-09-26 18:01:01 +02:00
Rami Mosleh
785b46af22
Add re-auth flow to glances integration ()
* Add reauth flow to glances integration.

* add reauth string

* add reauth strings
2023-09-26 17:46:12 +02:00
Erik Montnemery
c823e407fd
Tweak test wake_word.test_init.test_detected_entity () 2023-09-26 10:42:08 -05:00
J. Nick Koston
c9a55c7f84
Cache the latest short term stat id for each metadata_id on each run () 2023-09-26 09:57:59 -05:00
Rami Mosleh
31e9ca0099
Handle authorization error in glances config flow ()
* Handle authroization error in glances config flow

* Remove validate_input method and expections

* update tests
2023-09-26 14:51:04 +02:00
Joost Lekkerkerker
91bc65be9c
Add entity translations to SRP Energy () 2023-09-26 14:47:19 +02:00
Joost Lekkerkerker
4ffac3e7ed
Cleanup Withings const import () 2023-09-26 13:16:37 +02:00
J. Nick Koston
667f4b1ca8
Mark Bluetooth scanner as not scanning when watchdog timeout is reached () 2023-09-26 05:29:46 -05:00
Joost Lekkerkerker
f21d924dd5
Add entity translations to Wallbox ()
Co-authored-by: Robert Resch <robert@resch.dev>
2023-09-26 11:41:40 +02:00
Erik Montnemery
1e76d37cee
Rename PipelineData.pipeline_runs to pipeline_debug () 2023-09-26 11:35:51 +02:00
Joost Lekkerkerker
b0a7e68984
Rename Withings coordinator file ()
Rename common.py to coordinator.py
2023-09-26 10:59:45 +02:00
Joost Lekkerkerker
4f63c7934b
Add coordinator to Withings ()
* Add coordinator to Withings

* Add coordinator to Withings

* Fix tests

* Remove common files

* Fix tests

* Fix tests

* Rename to Entity

* Fix

* Rename webhook handler

* Fix

* Fix external url

* Update homeassistant/components/withings/entity.py

Co-authored-by: Luke Lashley <conway220@gmail.com>

* Update homeassistant/components/withings/entity.py

Co-authored-by: Luke Lashley <conway220@gmail.com>

* Update homeassistant/components/withings/entity.py

Co-authored-by: Luke Lashley <conway220@gmail.com>

* Update homeassistant/components/withings/entity.py

Co-authored-by: Luke Lashley <conway220@gmail.com>

* fix imports

* Simplify

* Simplify

* Fix feedback

* Test if this makes changes clearer

* Test if this makes changes clearer

* Fix tests

* Remove name

* Fix feedback

---------

Co-authored-by: Luke Lashley <conway220@gmail.com>
2023-09-26 09:17:11 +02:00
David Knowles
8ba6fd7935
Add device info to Hydrawise ()
* Add device info to Hydrawise

* Apply suggestions from code review

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

* Remove _attr_has_entity_name

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-09-26 09:15:20 +02:00
G Johansson
7b1b189f3e
Add date range to Workday () 2023-09-26 08:21:36 +02:00
Paulus Schoutsen
c5c5d9ed0c
Allow fetching wake word entity info () 2023-09-25 21:33:04 -05:00
Allen Porter
fa2d77407a
Add Rain Bird irrigation calendar ()
* Initial version of a calendar for the rainbird integration

* Improve calendar support

* Revert changes to test fixtures

* Address ruff error

* Fix background task scheduling

* Use pytest.mark.freezetime to move to test setup

* Address PR feedback

* Make refresh a member

* Merge rainbird and calendar changes

* Increase test coverage

* Readability improvements

* Simplify timezone handling
2023-09-25 20:27:38 -04:00
Allen Porter
18f29993c5
Simplify fitbit unit system and conversions ()
* Simplify fitbit unit conversions

* Use enum values in unit system schema

* Use fitbit unit system enums
2023-09-25 20:08:59 -04:00
Michael Hansen
785618909a
Use webrtc-noise-gain for audio enhancement in Assist pipelines ()
* Use webrtc-noise-gain instead of webrtcvad package

* Switching to ProcessedAudioChunk

* Refactor VAD and fix tests

* Add vad no chunking test

* Add test that runs audio enhancements
2023-09-25 20:03:50 -04:00
Jan Bouwhuis
a4f7f3ba7e
Make sure time is changed in mqtt event test () 2023-09-26 00:32:12 +02:00
Jc2k
cae19431d1
Simplify homekit_controller tests with snapshots () 2023-09-25 16:26:27 -05:00
Jan Bouwhuis
c5b32d6307
Add doorbell event to google_assistant ()
* First attempt async_report_state_all

* Move notificationSupportedByAgent to SYNC response

* Make notificationSupportedByAgent conditional

* Add generic sync_options method

* Report event

* Add event_type as ID

* User UUID, imlement query_notifications

* Refactor query_notifications

* Add test

* MyPy

* Unreachable code

* Tweak

* Correct notification message

* Timestamp was wrong unit, it should be in seconds
* Can only allow doorbell class, since it's the only type

* Fix test

* Remove unrelated changes - improve coverage

* Additional tests

---------

Co-authored-by: Joakim Plate <elupus@ecce.se>
2023-09-25 23:20:02 +02:00
Jan Bouwhuis
60b8775f4a
Avoid redundant calls to async_write_ha_state in mqtt siren ()
* Avoid redundant calls to async_write_ha_state

* Add comment
2023-09-25 22:36:13 +02:00
Jan-Philipp Benecke
2eefd21dcc
Parametrize more co2signal config flow tests ()
* Clean up co2signal tests

* Some more clean up

* Use named parameter ids of parametrize
2023-09-25 22:21:40 +02:00
Jan Bouwhuis
a242a1c107
Add tests for mqtt image ()
* Rework mqtt image writing state

* Revert mixin changes, add attr

* Revert code changes
2023-09-25 22:20:32 +02:00
Jan Bouwhuis
7258bc6457
Avoid redundant calls to async_write_ha_state in mqtt vacuum ()
* Avoid redundant calls to async_write_ha_state

* Add comment

* Rephrase
2023-09-25 22:17:29 +02:00
Jan-Philipp Benecke
b9a3863645
Handle json decode exception in co2signal ()
* Handle json decode exception in co2signal

* Update homeassistant/components/co2signal/coordinator.py

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

* Fix import

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-09-25 21:21:01 +02:00
Jan Bouwhuis
ea1108503d
Rework and fix mqtt siren writing state and attributes ()
Rework mqtt siren writing state and attributes
2023-09-25 21:08:14 +02:00
Erik Montnemery
d76c5ed351
Use wake word settings in assist pipeline runs () 2023-09-25 12:58:10 -04:00
Jan Bouwhuis
30c7e7fbdf
Avoid redundant calls to async_ha_write_state mqtt update platform ()
Avoid redundant calls to async_ha_write_state
2023-09-25 18:08:02 +02:00
Jan Bouwhuis
cd3d3b76a3
Avoid redundant calls to async_ha_write_state in mqtt text ()
Avoid redundant calls to async_ha_write_state
2023-09-25 18:07:24 +02:00
Jan Bouwhuis
8d10cdce4e
Avoid redundant calls to async_ha_write_state in mqtt switch ()
Avoid redundant calls to async_ha_write_state
2023-09-25 18:06:19 +02:00
Jan Bouwhuis
33d45b3454
Avoid redundant calls to async_write_ha_state in mqtt select ()
Avoid redundant calls to async_write_ha_state
2023-09-25 18:05:42 +02:00
Jan Bouwhuis
180f248370
Avoid redundant calls to async_write_ha_state in mqtt number ()
Avoid redundant calls to async_write_ha_state
2023-09-25 18:05:14 +02:00
Jan Bouwhuis
98cc2e8098
Avoid redundant calls to async_write_ha_state in mqtt lock ()
Avoid redundant calls to async_write_ha_state
2023-09-25 18:04:33 +02:00
Jan Bouwhuis
ce02cbefc9
Avoid redundant calls to async_write_ha_state in mqtt lawn_mower ()
Avoid redundant calls to async_write_ha_state
2023-09-25 18:03:52 +02:00