Erik Montnemery
0429b321b8
Include matching languages in WS conversation/agent/list ( #91730 )
...
* Include matching languages in WS conversation/agent/list
* Allow specifying country
2023-04-20 08:58:43 -04:00
Erik Montnemery
768c499b6f
Include matching languages in WS stt/engine/list ( #91731 )
...
* Include matching languages in WS stt/engine/list
* Allow specifying country
2023-04-20 08:57:48 -04:00
Erik Montnemery
79de27a4a9
Include matching languages in WS tts/engine/list ( #91732 )
...
* Include matching languages in WS tts/engine/list
* Allow specifying country
2023-04-20 08:56:50 -04:00
Erik Montnemery
6d619579b4
Add WS API for listing languages supported by a full assist pipeline ( #91669 )
...
* Add WS API for listing languages supported by a full assist pipeline
* Address review comments, change logic
2023-04-20 08:55:17 -04:00
Erik Montnemery
03dcb915e3
Add missing callback decorator on StorageCollectionWebsocket.ws_list_item ( #91727 )
2023-04-20 07:58:11 -04:00
epenet
bb2461ea93
Fix lingering timers in bluetooth (part 2) ( #91674 )
2023-04-20 11:04:07 +02:00
Jan Bouwhuis
0bcda9fe9c
Make sure MQTT client is available when starting depending platforms ( #91164 )
...
* Make sure MQTT is available starting mqtt_json
* Wait for mqtt client
* Sync client connect
* Simplify
* Addiitional tests async_wait_for_mqtt_client
* Improve comment waiting for mqtt
* Improve docstr
* Do not wait unless the MQTT client is in setup
* Handle entry errors during setup
* More comments - do not clear event
* Add snips and mqtt_room
* Add manual_mqtt
* Update homeassistant/components/mqtt/__init__.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* Use a fixture, improve tests
* Simplify
---------
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-04-20 08:07:35 +02:00
J. Nick Koston
adc472862b
Fallback to generating a new ULID on migraiton if context is missing or invalid ( #91704 )
...
* Fallback to generating a new ULID on migraiton if context is missing or invalid
It was discovered that postgresql will do a full scan if
there is a low cardinality on the index because of missing
context ids. We will now generate a ULID for the timestamp
of the row if the context data is missing or invalid
fixes #91514
* tests
* tweak
* tweak
* preen
2023-04-19 21:56:07 -04:00
J. Nick Koston
56a6244d90
Remove legacy context lookup implementation from logbook ( #91710 )
...
* Remove legacy context lookup implemention from logbook
This object can now be replaced with a simple dict
* Remove legacy context lookup implemention from logbook
This object can now be replaced with a simple dict
* scope
* fix order issue
2023-04-19 21:54:34 -04:00
Mike Degatano
24fe6dfc63
Fix from feedback on supervisor issues to repairs ( #91680 )
...
* Fix from feedback on supervisor issues to repairs
* Use cls parameter in classmethods
2023-04-20 01:02:40 +02:00
Paulus Schoutsen
6342992791
Detect eero brand for Thread ( #91699 )
2023-04-19 22:18:09 +02:00
epenet
2df5d34374
Fix lingering timer in unifiprotect discovery ( #91695 )
2023-04-19 21:02:37 +02:00
Shay Levy
54a659c51b
Bump aioshelly to 5.3.2 ( #91679 )
2023-04-19 20:26:45 +03:00
epenet
d70ae8afc5
Fix lingering timer in ZHA debouncers ( #91685 )
2023-04-19 18:45:27 +02:00
epenet
ec914815bd
Fix lingering timer in ZHA light transition ( #91683 )
2023-04-19 18:20:17 +02:00
epenet
dace1add1f
Fix lingering timer in SinopeTechnologiesThermostat ( #91681 )
2023-04-19 18:19:58 +02:00
Erik Montnemery
4e0b8a7363
Allow complex schemas for validating WS commands ( #91655 )
2023-04-19 11:37:09 -04:00
J. Nick Koston
573c15d67a
Update bluetooth debug logging for newer bleak ( #91643 )
...
fixes
```
homeassistant/components/bluetooth/wrappers.py:268: FutureWarning: BLEDevice.rssi is deprecated and will be removed in a future version of Bleak, use AdvertisementData.rssi instead
rssi = wrapped_backend.device.rssi
```
2023-04-19 11:26:02 -04:00
Duco Sebel
9092f6a60f
Handle UnsupportedError in HomeWizard ( #91608 )
...
* Handle UnsupportedEror
* Make error message more clear
* Remove debug line, whoops
2023-04-19 11:14:28 -04:00
epenet
55c723753e
Cleanup device handles on ZHA controller shutdown ( #91591 )
2023-04-19 17:13:58 +02:00
Erik Montnemery
9bd739df82
Add assist_pipeline to default_config ( #91651 )
2023-04-19 10:59:43 -04:00
Erik Montnemery
eabbe8969d
Adjust typing of AbstractConversationAgent.supported_languages ( #91648 )
...
* Adjust typing of AbstractConversationAgent.supported_languages
* Update test
2023-04-19 10:53:49 -04:00
Erik Montnemery
5e9bbeb4ad
Refactor conversation agent WS API for listing agents ( #91590 )
...
* Refactor conversation agent WS API for listing agents
* Add conversation/agent/info back
2023-04-19 10:53:24 -04:00
David F. Mulcahey
9c784ac622
Refactor ZHA ( #91476 )
...
* rename channel -> cluster handler
* remove refs to channels and create endpoint class
* remove remaining references to channels
* fix filter
* take in latest changes from #91403
* missed one
* missed a reference
2023-04-19 10:47:07 -04:00
Erik Montnemery
090f59aaa2
Make context a mandatory parameter for async_pipeline_from_audio_stream ( #91658 )
2023-04-19 09:30:29 -04:00
Tom Harris
ebd20c8a7b
Fix Insteon thermostat issue ( #91568 )
...
* Bump pyinsteon
* Bump pyinsteon
* Bump pyinsteon
2023-04-19 08:41:32 -04:00
J. Nick Koston
408b2171ae
Handle long format context UUIDs during migration ( #91657 )
...
In https://github.com/home-assistant/core/issues/91514 is was discovered
these exist in older versions
2023-04-19 08:40:04 -04:00
Joost Lekkerkerker
162c36f108
Move Steam Entity to separate file ( #91630 )
2023-04-19 14:14:59 +02:00
Joost Lekkerkerker
88f5f04be8
Refactor LastFM to use shorthand attributes ( #91606 )
...
* Preliminary PR for the coordinator
* Preliminary PR for the coordinator
* Preliminary PR for the coordinator
* Apply suggestions from code review
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Preliminary PR for the coordinator
* Preliminary PR for the coordinator
* Preliminary PR for the coordinator
* Preliminary PR for the coordinator
* Preliminary PR for the coordinator
* Preliminary PR for the coordinator
* Preliminary PR for the coordinator
* Apply feedback
* Apply feedback
* Apply feedback
* Apply feedback
* Apply feedback
* Update homeassistant/components/lastfm/sensor.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Update homeassistant/components/lastfm/sensor.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Apply feedback
* Apply feedback
* Fix tests
* Update homeassistant/components/lastfm/sensor.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Fix tests
* Fix feedback
---------
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-04-19 14:13:43 +02:00
Erik Montnemery
f3e6d6dfc0
Add async_get_supported_voices to tts.Provider ( #91649 )
...
* Add async_get_supported_voices to tts.Provider
* Update WS API
2023-04-19 13:47:49 +02:00
Michael Hansen
85d57a046c
Add wyoming integration with stt ( #91579 )
...
* Add wyoming integration with stt/tts
* Forward config entry setup
* Use SpeechToTextEntity
* Add strings to config flow
* Move connection into config flow
* Add tests
* On load/unload used platforms
* Tweaks
* Add unload test
* Fix stt
* Add missing file
* Add test for no services
* Improve coverage
* Finish test coverage
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-04-19 06:10:59 -04:00
G Johansson
f74103c57e
Add config flow to Workday ( #72558 )
...
* Initial commit Workday Config Flow
* Add tests
* Remove day_to_string
* new entity name, new depr. version, clean
* Use repairs for depr. warning
* Fix issue_registry moved
* tweaks
* hassfest
* Fix CI
* FlowResultType
* breaking version
* remove translation
* Fixes
* naming
* duplicates
* abort entries match
* add_suggested_values_to_schema
* various
* validate country
* abort_entries_match in option flow
* Remove country test
* remove country not exist string
* docstring exceptions
* easier
* break version
* unneeded check
* slim tests
* Fix import test
* Fix province in abort_match
* review comments
* Fix import province
* Add review fixes
* fix reviews
* Review fixes
2023-04-19 11:50:11 +02:00
Mike Degatano
a511e7d6bc
Make repairs out of select supervisor issues ( #90893 )
...
* Make repairs out of select supervisor issues
* Fix comment formatting
* Add a test case for API error
* Testing and type fix
2023-04-19 08:07:38 +02:00
Michael Hansen
6b5e82ed40
Support both stt entity and legacy providers ( #91633 )
2023-04-18 16:59:06 -05:00
Erik Montnemery
dc3c47986b
Add property `supported_languages` to `AbstractConversationAgent` ( #91588 )
...
* Add property supported_languages to AbstractConversationAgent
* Fix test
* Use MATCH_ALL for openai supported languages
2023-04-18 15:11:04 -05:00
epenet
d7eb4c4740
Bump renault-api to 0.1.13 ( #91609 )
2023-04-18 19:33:09 +02:00
epenet
1a787bba3f
Remove webhook translation file ( #91616 )
2023-04-18 19:29:37 +02:00
epenet
ae0cbffdd8
Add ability to shutdown update coordinator ( #91456 )
...
* Add ability to shutdown update coordinator
* Adjust nibe_heatpump
* Add tests
* Use async
* Remove duplicate code in update coordinator
* Adjust
* Revert nibe changes - it can now be done in a follow-up PR
* Adjust
* Fix incorrect merge
* async_fire_time_changed
2023-04-18 18:56:43 +02:00
Erik Montnemery
bdffb1f298
Drop language parameter from async_get_pipeline ( #91612 )
2023-04-18 18:07:20 +02:00
Erik Montnemery
10606c4d1e
Use the preferred assist pipeline if none was specified ( #91611 )
...
* Use the preferred assist pipeline if none was specified
* Add test
2023-04-18 17:35:33 +02:00
Erik Montnemery
016e051db6
Add timestamp to pipeline runs ( #91599 )
...
* Add timestamp to pipeline runs
* Include the timestamp in the list
2023-04-18 10:43:46 -04:00
Jan Bouwhuis
4132f08146
Remove check on remove deprecated call back for mqtt subscribe ( #91464 )
...
Remove check on deprecated callback wrapper
2023-04-18 16:02:24 +02:00
Erik Montnemery
5f7d98f15b
Improve comment in conversation ( #91595 )
2023-04-18 09:27:14 -04:00
Paulus Schoutsen
f3897d8dae
Bump hass-nabucasa to 0.65.0 ( #91565 )
2023-04-18 08:42:03 -04:00
Jan Bouwhuis
599cc4a5c6
Cleanup MQTT platform set up and discovery start ( #91007 )
...
Cleanup platform set up and discovery start
2023-04-18 14:33:58 +02:00
J. Nick Koston
2ec1359063
Dynamically size recorder max backlog based on available memory ( #90894 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-04-18 12:35:49 +02:00
Sander Striker
f49dc65ff2
EasyEnergy: Add two additional sensors to help pick the best hours ( #90543 )
2023-04-18 10:18:51 +02:00
J. Nick Koston
2530031454
Use cache to lookup event type ids in logbook ( #91576 )
...
noticed we can speed this up while looking at
https://github.com/home-assistant/core/issues/91514
Note: this will not fix that issue as there is more going on there
2023-04-17 23:40:03 -04:00
Michael Hansen
f96515b90a
Use language util in stt/tts ( #91521 )
...
* Use language util in stt/tts
* Test language util in stt/tts
* Fix common in TTS
* Update snapshot
2023-04-17 23:23:43 -04:00
Michael Hansen
95d16c9829
VoIP audio queue ( #91577 )
...
* Clear audio queue after every conversation turn
* Stream STT audio when voice command starts
2023-04-17 22:51:14 -04:00
Jesse Hills
aeb19831d2
ESPHome select for assist pipeline selection ( #91526 )
...
* ESPHome: Add assist pipeline select entity
* Add translation strings
* Tests
2023-04-17 22:22:11 -04:00
shbatm
ef7e3e27ba
Remove previously deprecated ISY994 YAML support ( #91575 )
2023-04-17 15:37:19 -10:00
Jesse Hills
8d201b205f
ESPHome binary sensor representing assist pipeline running ( #91406 )
...
* ESPHome binary sensor representing assist pipeline running
* Apply suggestions from code review
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
* Rename to call active
Simplify with attrs a little
* Load binary sensor if voice assistant on device
* Add some tests
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-04-17 19:52:37 -04:00
epenet
28652345bd
Remove duplicate code in update coordinator ( #91573 )
2023-04-17 13:07:58 -10:00
Bram Kragten
c6b4c88355
Fix pipeline select ( #91570 )
...
Fix pipline select
2023-04-17 18:55:38 -04:00
shbatm
c663f7677c
Remove previously deprecated ISY994 services ( #91569 )
2023-04-17 11:43:01 -10:00
J. Nick Koston
da4c144a5e
Fix history stats query using incorrect microseconds ( #91250 )
2023-04-17 11:37:30 -10:00
epenet
81f018b7e5
Make Debouncer shutdown async ( #91542 )
...
* Make shutdown async in Debouncer
* Adjust test
2023-04-17 23:31:30 +02:00
Erik Montnemery
e32dacc62d
Add WS API to tts ( #91330 )
...
* Add WS API to tts
* Use language util, change from entity_id to engine_id
* Fix rebase mistake
2023-04-17 22:52:19 +02:00
Michael Hansen
2819ad9a16
Bump intents dependency ( #91556 )
2023-04-17 22:13:31 +02:00
Erik Montnemery
b5817e40f7
Add WS API to `stt` ( #91329 )
2023-04-17 22:09:30 +02:00
Bram Kragten
e3ff7d048a
Make tts/stt/conversation optional on pipeline ( #91555 )
2023-04-17 20:54:04 +02:00
G Johansson
afc9e4303a
Create base TriggerEntity ( #91128 )
...
* Trigger entity base class
* mods
* TriggerEntity to CoordinatorTriggerEntity
* variables to variable
* mypy
* unique_id
* Fix
* docstring
* _render_templates
* split manual vs coordinator
* name
* ManualTriggerEntity
* value
* use super
* Remove ManualTriggerEntity
* Use super()
2023-04-17 19:55:54 +02:00
Paulus Schoutsen
bd22e0bd43
Allow picking a pipeline for voip devices ( #91524 )
...
* Allow picking a pipeline for voip device
* Add tests
* Fix test
* Adjust on new pipeline data
2023-04-17 12:09:11 -05:00
Martin Hjelmare
9bd12f6503
Move legacy tts ( #91538 )
...
* Move legacy tts
* Add error log on unknown platform
* Add legacy tests and delint all tests
* Consolidate log format
* Add more legacy tests
* Test default legacy provider attributes
* Remove test generated files
* Clean up after merge conflict
2023-04-17 13:01:50 -04:00
Erik Montnemery
0ecd23baee
Add WS API for debugging previous assist_pipeline runs ( #91541 )
...
* Add WS API for debugging previous assist_pipeline runs
* Improve typing
2023-04-17 11:48:02 -04:00
Erik Montnemery
b597415b01
Make it non-optional to implement supported_languages in tts.Provider ( #91347 )
2023-04-17 10:59:21 -04:00
Erik Montnemery
8c1c7e1e4c
Remove PipelineEvent.as_dict ( #91546 )
2023-04-17 16:33:53 +02:00
mkmer
799080eb00
Don't reload integration for AuthError in Honeywell ( #91228 )
2023-04-17 14:55:52 +02:00
epenet
3364f0fce2
Allow config entries unload action to be coroutine ( #91531 )
...
* Allow config entries unload action to be coroutine
* Adjust comment
2023-04-17 08:41:25 -04:00
Franck Nijhof
6a80f5fc60
Update cryptography to 40.0.2 ( #91528 )
2023-04-17 08:36:42 -04:00
Allen Porter
4c5746d6ed
Update Todoist all day event handling following best practices ( #90491 )
2023-04-17 14:21:49 +02:00
J. Nick Koston
9be9defbb8
Add more rule parsers to onvif ( #91533 )
2023-04-17 13:41:15 +02:00
G Johansson
c3e22cfa63
SQL strings update db_url ( #91537 )
2023-04-17 13:37:27 +02:00
Franck Nijhof
f1bb4ed0ed
Update pip constraint to allow for pip 23.1 ( #91535 )
2023-04-17 12:39:13 +02:00
Martin Hjelmare
5c7d124f02
Add core as codeowner to tts ( #91539 )
2023-04-17 12:05:54 +02:00
krazos
717898fc92
Change entity category of IR light setting from control to config ( #91382 )
2023-04-17 11:10:06 +02:00
rappenze
a5b863cd75
Fix state mapping in fibaro climate ( #91505 )
2023-04-17 11:09:11 +02:00
starkillerOG
88bde2a914
Reolink ONVIF move read to primary callback ( #91478 )
...
* Move read to primary callback
* fix styling
* Do not raise on ConnectionResetError
* Split request.text() to .read() and decode("utf-8")
2023-04-16 22:48:39 -10:00
epenet
7c9242b4a7
Fix lingering timer in alert integration ( #91452 )
2023-04-17 10:35:53 +02:00
Erik Montnemery
3367e86686
Enable strict typing of assist_pipeline ( #91529 )
2023-04-17 10:32:14 +02:00
J. Nick Koston
9985516f80
Build protobuf upb wheels ( #90812 )
2023-04-17 10:30:22 +02:00
Jeef
752d5958dc
Add monessen virtual integration for Intellifire ( #89315 )
2023-04-17 10:03:37 +02:00
J. Nick Koston
b875706bdd
Default homekit to listening on all interfaces to match Home Assistant behavior ( #91520 )
2023-04-17 09:41:57 +02:00
rappenze
01046b88e5
Update pyfibaro to 0.7.0 ( #91510 )
2023-04-17 09:39:13 +02:00
jjlawren
c88d4b09c9
Handle invalidated Plex token ( #91438 )
2023-04-17 09:38:16 +02:00
Jesse Hills
42b0602190
ESPHome: Use existing property with generated signal string ( #91525 )
2023-04-16 18:37:12 -10:00
Christopher Bailey
5dcc4d49c8
Bump unifiprotect to 4.8.1 ( #91522 )
2023-04-16 17:50:06 -10:00
Christopher Bailey
fdc80e14e6
Remove deprecated set_doorbell_message UniFi Protect service ( #91523 )
...
* Removes deprecated service
* Linting
* Linting
* More cleanup
* Linting
2023-04-16 17:30:41 -10:00
Jan Čermák
9680161701
Add RAPT Bluetooth integration ( #87872 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-04-16 17:19:03 -10:00
Paulus Schoutsen
2b6fd0df6a
VoIP: Add is active call binary sensor ( #91486 )
...
* Refactor VoIP integration for more entities
* Add active call binary sensor
* Add actually missing binary sensor files
* Improve test coverage
2023-04-16 22:59:05 -04:00
Brett Adams
58ea657fbc
Add a data model to Advantage Air ( #91519 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-04-16 15:04:30 -10:00
Brett Adams
8fe900885a
Bump Advantage Air to 0.4.4 ( #91147 )
2023-04-16 14:56:57 -10:00
Lode Smets
263901841f
Add Synology Photos support ( #86894 )
...
Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
Co-authored-by: mib1185 <mail@mib85.de>
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-04-16 12:29:15 -10:00
Brett Adams
5001a50876
Add MyPlace support to Advantage Air ( #91108 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-04-16 12:27:37 -10:00
J. Nick Koston
4420201fe6
Use bluetooth data tools for address conversion in esphome ( #91443 )
2023-04-16 11:55:08 -10:00
J. Nick Koston
ac76a2b1df
Bump bluetooth-data-tools to 0.4.0 ( #91442 )
2023-04-16 11:06:03 -10:00
MarkGodwin
691cd4f2ed
Bump TP-Link Omada API to enforce minimum controller version ( #91498 )
...
Bump omada API
2023-04-16 16:45:02 -04:00
J. Nick Koston
4d266e99dc
Bump aioruuvigateway to 0.1.0 ( #91512 )
2023-04-16 10:26:08 -10:00
J. Nick Koston
7f7909e0d1
Add dhcp ip update support to onvif ( #91474 )
...
* Add dhcp ip update support to onvif
If we know the mac address of the camera we can
update the config entry when the ip changes
* fix lookup
* coverage
* remove unreachable
* remove unreachable
* remove unreachable
2023-04-16 15:55:33 -04:00
Ben Morton
d16e1b4ed0
Resolve issue with switchbot blind tilt devices getting stuck in opening/closing state ( #91495 )
2023-04-16 09:32:51 -10:00
J. Nick Koston
fdc6cf3472
Continue recording events until final write ( #91260 )
2023-04-16 09:22:47 -10:00
Jack Boswell
00191ace6c
Expose ping drop rate Starlink sensor ( #91444 )
2023-04-16 08:25:36 -10:00
J. Nick Koston
9625444989
Automatically retry lost/timed out LIFX requests ( #91157 )
2023-04-16 14:27:17 +02:00
epenet
3ff03eef46
Fix lingering timer in buienradar ( #91378 )
2023-04-16 14:20:54 +02:00
J. Nick Koston
cb6ffa5b03
Handle a few more transient onvif errors ( #91473 )
2023-04-16 14:06:30 +02:00
J. Nick Koston
e7373d979b
Fix onvif failing to reload ( #91482 )
2023-04-16 14:05:10 +02:00
Mark Adkins
0cf29f0f84
Fix SharkIQ token expiration ( #89357 )
2023-04-16 14:04:18 +02:00
Maciej Bieniek
9d68cdca18
Remove `ozone` state attribute and `ozone` sensors from Accuweather ( #91492 )
2023-04-16 14:01:22 +02:00
J. Nick Koston
24538a44fc
Bump onvif-zeep-async to 1.2.11 ( #91472 )
2023-04-16 13:56:10 +02:00
Maciej Bieniek
09c41ca2d8
Bump nextdns to version 1.4.0 ( #91490 )
2023-04-16 13:51:07 +02:00
epenet
bdb55a4262
Fix lingering timer in samsungtv ( #91450 )
2023-04-16 08:24:04 +02:00
dougiteixeira
dc03a5c81e
Fix error for when column does not exist in query to SQL ( #91166 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-04-15 12:54:56 -10:00
Michael
323d16cc21
Add ssl_cipher_list option to rest ( #91078 )
2023-04-15 11:22:41 -10:00
Michael Davie
59dc0ea2e0
Bump env_canada to v0.5.33 ( #91468 )
2023-04-15 09:44:07 -10:00
Meow
963648a333
Add SetSynchronizationPoint fallback to onvif ( #86400 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-04-15 09:41:34 -10:00
J. Nick Koston
72dfd95831
Fix creating onvif pull point subscriptions when InitialTerminationTime is required ( #91470 )
...
* Fix creating onvif pull point subscriptions when InitialTerminationTime is required
fixes #85902
* Bump again because I got it wrong the first time.. this is why retest is good
2023-04-15 15:34:07 -04:00
Michael
67c4de90f3
Add option to select list of accepted ssl ciphers in httpx client ( #91389 )
2023-04-15 09:32:30 -10:00
epenet
a018ba0696
Improve async_track_point_in_time ( #91451 )
...
* Adjust async_track_point_in_time
* Adjust name
2023-04-15 20:28:08 +02:00
Erik Montnemery
8f8a398631
Support marking an assist pipeline as preferred ( #91418 )
...
* Support marking an assist pipeline as preferred
* Adjust
* Revert unneeded change
* Send preferred pipeline id in pipeline list
* Don't use property functions for the preferred pipeline
2023-04-15 10:05:46 -04:00
epenet
d173590477
Remove combined translations in integrations ( #91337 )
...
Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2023-04-15 15:51:04 +02:00
Aidan Timson
3bc023986c
Fix listener running in foreground for System Bridge integration ( #91391 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-04-15 15:49:05 +02:00
puddly
a9db39a833
Fix attribute reporting config failures in ZHA ( #91403 )
2023-04-15 15:48:34 +02:00
starkillerOG
adc8a13f93
Reolink prevent ONVIF push being lost due to ConnectionResetError ( #91070 )
...
* Make "Connection lost" error less likely
* Handle connection loss during ONVIF event reading
* tweak
* fix styling
* catch asyncio.CancelledError from request.text()
* missing ()
* re-raise cancelation for proper cleanup
* Simplify
* Also set webhook_reachable if connection lost
* fix styntax
* Send HTTP_OK directly after data read done
* protect agains garbage collection
* Protect shielded task (inner) not shielded future (outer)
* fix black
* Make sure exceptions are logged
* fix spelling
* fix black
* fix spelling
* Simplify using hass.async_create_task
* clarify comment
* Eleborate comment
* Update homeassistant/components/reolink/host.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* Apply suggestions from bdraco
---------
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-04-14 21:05:22 -04:00
J. Nick Koston
1379ad60c8
Ensure recorder always attempts clean shutdown if recorder thread raises ( #91261 )
...
* Ensure recorder run shutdown if the run loop raises
If anything goes wrong with the recorder we should
still try to shutdown cleanly
* tweak
* tests
* tests
* handle migraiton failure
* tweak comment
* naming
* order
* order
* order
* reword
* adjust test
* fixes
* threading
* failure case
* fix test
* have to wait for stop because the task blocks on thread join
2023-04-14 21:03:24 -04:00
J. Nick Koston
56cc6633f5
Use fast path for track_time_change that fires every second ( #91432 )
...
We were missing a check for `*` and were only checking
`None`. Automations use `*`, python code uses `None`.
2023-04-14 21:02:54 -04:00
J. Nick Koston
5ffd833fdf
Improve performance of tracking time changes ( #91433 )
...
* Improve performance of async_track_time_interval
Uses HassJob internally to avoid looking up the function
target type every time it fires
* name
2023-04-14 21:02:13 -04:00
epenet
19a6530c3c
Add ability to shutdown a Debouncer ( #91439 )
...
* Add ability to shutdown a Debouncer
* Use async_create_task
2023-04-14 21:01:21 -04:00
J. Nick Koston
698345e88b
Bump yalexs to 1.3.0 ( #91431 )
...
changelog: https://github.com/bdraco/yalexs/compare/v1.2.7...v1.3.0
fixes for missing user ids
2023-04-14 20:02:09 -04:00
Harvey
bf4559719a
History API entity_id validation ( #90067 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-04-14 09:41:54 -10:00
rlippmann
f5911bcad6
Add slots to dataclasses in default_config ( #91410 )
...
* add dataclass slots to default config items
* remove slots from sun mixing
2023-04-14 14:22:39 -04:00
PatrickGlesner
f65e06dc26
Delete obsolete lines and add some missing type hints in OpenTherm Gateway integration ( #90530 )
2023-04-14 15:28:26 +02:00
Maciej Bieniek
808830b90e
Bump accuweather to version 0.5.1 ( #91412 )
...
Bump accuweather
2023-04-14 08:31:33 -04:00
Eric Severance
94f35ea968
Add webhook trigger allowed_methods/local_only options ( #66494 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-04-14 12:49:12 +02:00
Erik Montnemery
b23cedeae9
Save Thread dataset store when changing preferred dataset ( #91411 )
2023-04-14 11:48:03 +02:00
Jarek Świerczyński
47f5160154
Allow GET in webhook triggers ( #56446 )
2023-04-14 09:46:00 +02:00
Franck Nijhof
ce16d8eeac
Rename Particulate matter sensors to PM ( #91384 )
2023-04-14 09:43:15 +02:00
Jan Bouwhuis
fc8c5f1bbd
Do not allow mqtt lights to set brightness to zero ( #91296 )
...
* Do not allow mqtt lights to set brightness to zero
* Loglevel to debug
* Typo
2023-04-14 09:01:29 +02:00
J. Nick Koston
025e1792db
Bump onvif-zeep-async to 1.2.5 ( #91399 )
2023-04-14 08:37:12 +02:00
jjlawren
27f3b53872
Support Sonos announcements using websockets ( #91145 )
2023-04-13 20:08:53 -10:00
epenet
a061f56833
Fix lingering timer in EntityRegistryDisabledHandler ( #91376 )
...
Mark EntityRegistryDisabledHandler as cancellable
2023-04-14 06:37:49 +02:00
epenet
e39f0320df
Fix lingering timers in analytics ( #91363 )
2023-04-14 06:37:22 +02:00
Aaron Godfrey
7061b104a9
Fix tasks with no due date from not triggering `on` calendar state. ( #91196 )
...
Fix tasks with no due date.
Prior to this change we were setting the start date/time to utc rather
than the user's timezone.
2023-04-13 21:12:58 -07:00
Jesse Hills
0ddccb26fa
ESPHome voice assistant ( #90691 )
...
* Add ESPHome push-to-talk
* Send pipeline events to device
* Bump aioesphomeapi to 13.7.0
* Log error instead of print
* Rename variable
* lint
* Rename
* Fix type and cast
* Move event data manipulation into voice_assistant callback
Process full url
* Add a test?
* Remove import
* More tests
* Update import
* Update manifest
* fix tests
* Ugh
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-04-13 19:18:56 -04:00
epenet
1c0b2630da
Fix lingering timers in flux_led ( #91379 )
2023-04-13 11:54:29 -10:00
J. Nick Koston
e1a5ad069c
Improve performance of sums in the energy dashboard ( #91342 )
2023-04-13 11:52:38 -10:00
Erik Montnemery
4e80154ebe
Rename voice_assistant to assist_pipeline ( #91371 )
...
* Rename voice_assistant to assist_pipeline
* Fix tests
* Fix voip test
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2023-04-13 17:25:38 -04:00
Franck Nijhof
32344a8488
Fix incorrect warn of async_update_ha_state use ( #91387 )
2023-04-13 22:39:03 +02:00
epenet
9744e72d5a
Add ability to auto-cancel track_time_interval ( #91381 )
2023-04-13 21:31:16 +02:00
Joost Lekkerkerker
77a445ee16
Add entity name translations to Picnic ( #91362 )
...
* Add translatable entities for Picnic
* Apply fixes
2023-04-13 20:27:33 +02:00
Martin Hjelmare
473cbf7f9b
Add stt entity ( #91230 )
...
* Add stt entity
* Update demo platform
* Rename ProviderEntity to SpeechToTextEntity
* Fix get method
* Run all init tests for config entry setup
* Fix and test metadata from header
* Test config entry unload
* Rename get provider entity
* Test post for non existing provider
* Test entity name before addition
* Test restore state
* Use register shutdown
* Update deprecation comment
2023-04-13 13:58:35 -04:00
Franck Nijhof
22a1a6846d
Warn for unneeded use of async_update_ha_state ( #91372 )
2023-04-13 13:49:56 -04:00
rich-kettlewell
f2997ce4cc
Tado set_water_heater_timer should use water_heater domain ( #91364 )
2023-04-13 19:49:07 +02:00
Franck Nijhof
445b823232
Avoid task creation when calling schedule_update_ha_state without force update ( #91352 )
2023-04-13 18:39:03 +02:00
Joost Lekkerkerker
a272f8dfb2
Move picnic sensor definitions ( #91367 )
...
* Move types and mixin to sensor
* Move types and mixin to sensor
2023-04-13 16:46:10 +02:00
epenet
c40836b49f
Fix lingering timers in tts ( #90834 )
...
* Fix lingering timers in tts
* Improve
* Use HassJob with cancel_on_shutdown
2023-04-13 15:27:13 +02:00
epenet
c1b7aa084c
Fix race condition in deconz ( #91328 )
...
* Fix race condition in deconz
* Use a new separate test
2023-04-13 15:04:21 +02:00
Duco Sebel
8ca3440f33
Bump python-homewizard-energy to 2.0.1 ( #91097 )
2023-04-13 13:42:35 +02:00
J. Nick Koston
274a6fd3d7
Bump aiolifx to 0.8.10 ( #91324 )
2023-04-13 13:38:27 +02:00
Bram Kragten
8527048f07
Update frontend to 20230411.1 ( #91344 )
2023-04-13 13:37:37 +02:00
Franck Nijhof
208a44e437
Use async_write_ha_state in generic hygrostat ( #91331 )
2023-04-13 09:42:12 +02:00
epenet
4a0988eb5d
Adjust shutdown registration in EntityComponent ( #90938 )
...
* Adjust shutdown registration in EntityComponent
* Adjust
* Make it more explicit
* docstring
2023-04-13 08:47:04 +02:00
J. Nick Koston
6dbe67e909
Bump httpx to 0.24.0 and httpcore to 0.17.0 ( #91308 )
2023-04-12 20:11:59 -10:00
Paulus Schoutsen
c9d81bd217
Pipelines to default to Home Assistant agent ( #91321 )
...
* Pipelines to default to Home Assistant agent
* Tests fix
2023-04-13 00:34:19 -04:00
Paulus Schoutsen
0678ab4e45
Add VoIP entities ( #91320 )
...
* WIP
* Add VoIP entities to enable calls
* Mark voip entities as config only
* Remove commented code
2023-04-12 23:23:20 -04:00
Michael Hansen
f0c625b2ad
Add language util ( #91290 )
...
* Add language util
* Add no match tests
* Update tests/util/test_language.py
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-04-12 20:27:09 -05:00
Franck Nijhof
e4d2409ca4
Update debugpy to 1.6.7 ( #91267 )
2023-04-12 20:43:26 -04:00
tronikos
27dd4cd261
Google Assistant SDK: Fix broadcast command for Portuguese ( #91293 )
...
Fix broadcast command for pt
2023-04-12 20:42:51 -04:00
Franck Nijhof
355404a959
Raise HomeAssistant error on failed Spotify service calls ( #91299 )
2023-04-12 20:42:33 -04:00
Franck Nijhof
99afab723b
Fix combined translation in Pi-hole strings ( #91305 )
2023-04-12 20:41:27 -04:00
Franck Nijhof
b2416a4020
Update sentry-sdk to 1.19.1 ( #91310 )
2023-04-12 20:40:19 -04:00
J. Nick Koston
4366f83ac8
Restore use of local timezone for MariaDB/MySQL in SQL integration ( #91313 )
...
* Use local timezone for recorder connection
The fix in #90335 had an unexpected side effect of
using UTC for the timezone since all recorder operations
use UTC. Since only sqlite much use the database executor
we can use a seperate connection pool which uses local time
This also ensures that the engines are disposed of
when Home Assistant is shutdown as previously we
did not cleanly disconnect
* coverage
* fix unclean shutdown in config flow
* tweaks
2023-04-12 20:24:55 -04:00
Joakim Sørensen
2c8b704a6d
Add certificate status for cloud remote ( #91277 )
2023-04-13 00:38:32 +02:00
Aidan Timson
d6c954a909
Reduce startup time for System Bridge integration ( #91171 )
2023-04-13 00:36:51 +02:00
David Poll
ea12d7a86f
Add pretty printing, key sorting, and better performance to to_json in Jinja ( #91253 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-04-13 00:32:13 +02:00
J. Nick Koston
9b2e9b8746
Update typing on recorder pool for sqlalchemy 2.0 ( #91244 )
2023-04-13 00:09:15 +02:00
Brig Lamoreaux
ff1fd86b91
Clean up srp_energy ( #86822 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-04-12 23:47:37 +02:00
Assaf Inbal
7446ff478f
Add h264_v4l2m2m codec and profiles to HomeKit cameras ( #91246 )
2023-04-12 10:46:21 -10:00
codyhackw
4f507e7f57
Update Inovelli Blue Series switch support in ZHA ( #91254 )
...
Co-authored-by: David F. Mulcahey <david.mulcahey@icloud.com>
2023-04-12 22:09:16 +02:00
puddly
fd7d0fff1f
Bump ZHA dependencies ( #91291 )
2023-04-12 22:09:03 +02:00
Jan Bouwhuis
722b991234
Support unknown state, position or tilt for template cover ( #91172 )
...
* Support unknown state for template cover
* Remove not related changes
2023-04-12 21:23:24 +02:00
dougiteixeira
1ef6391e9c
Preserves config flow information in case of error for SQL ( #91142 )
2023-04-12 09:03:14 -10:00
mkmer
6aa1460143
Add tests to honeywell ( #87209 )
...
* lower case aiosomecomfort
* add tests
* Test updates for 0.0.6
* lower case aiosomecomfort
* Missing changes after merge
* Add missing type hints
* Fix tests for PR#89393
* Test hold on when setting temperature
* Remove unnecessary init function
* Remove unnecessary assert
* Address missing tests
Cleanup related to comments for EM
* Move to snapshot for static test
* Updated snapshot
* Remove unnecessary assert
2023-04-12 20:34:32 +02:00
Jan Bouwhuis
e36fd5f222
Allow None device_class and UOM for mqtt entities ( #91240 )
...
* Allow None device_class and UOM for mqtt entities
* Rever not needed changes
* Revert another unwanted change
2023-04-12 19:14:16 +02:00
Paulus Schoutsen
325733158d
Allow multiple instances for OpenAI ( #90609 )
...
* Allow multiple instances for OpenAI
* Add test
2023-04-12 08:29:13 -04:00
Mike Knoop
e8fb7b8cf1
Fix Lutron keypad led state always off at startup ( #91149 )
2023-04-12 12:59:52 +02:00
Joakim Sørensen
8ce17458a9
Bump hass-nabucasa from 0.63.1 to 0.64.1 ( #91271 )
2023-04-12 12:38:57 +02:00
G Johansson
00847ee4bc
Add config flow to Brottsplatskartan ( #70233 )
...
* Brottsplatskartan Config Flow
* Fix import
* Modify sensor
* Mod version
* Mod version 2
* has_entity_name
* Fix api constructor
* Switch to issue for depr.
* Fix docstrings
* Minor cleaning
* Fix argument for bpk constructor
* remove translations
* Fix tests
* reset config
* uuid to conftest
* hassfest
* depr version
* unique id
* reset not linked changes
* review comments
* fix area none
* relevant changes
* depr version
* slim test
* unique_id
* create_entry
* review comments and tests
* fix init test
* review comments
2023-04-12 11:05:24 +02:00
Dmitry Vlasov
a409da947f
Update zwave-me-ws version to 0.4.2 ( #91068 )
2023-04-12 10:18:01 +02:00
Matthias Alphart
0ba339e56c
Run `socket.gethostbyname` in executor in Obihai and Sonos ( #91190 )
...
* Run in executor in Obihai and Sonos
* fix Sonos test
* fix sonos test differently (review)
2023-04-12 09:58:27 +02:00
G Johansson
b7cc42d135
Use RestoreSensor in derivative ( #91071 )
...
RestoreSensor
2023-04-12 08:46:55 +02:00
epenet
4e78bcb236
Suppress CancelledError in zwave-js unload ( #91222 )
2023-04-12 08:09:00 +02:00
J. Nick Koston
237faf62ac
Add a name to the background service call tasks ( #91252 )
2023-04-11 19:23:25 -10:00
Michael
0916701a0b
Catch ssl errors in rest ( #91074 )
...
* catch ssl.SSLError
* add test
* fail setup on ssl error
* adjust tests
2023-04-12 06:51:41 +02:00
Erik Montnemery
2c9e9d0fde
Allow UI configuration of entities exposed to voice_assistant ( #91233 )
...
* Allow UI configuration of entities exposed to voice_assistant
* Invalidate cache when settings change
* Add tests
* Expose entities to conversation by default
* Update tests
2023-04-11 22:39:40 -04:00
J. Nick Koston
e40a373c4b
Call sqlite pragma optimize during periodic cleanup task ( #91245 )
...
https://www.sqlite.org/pragma.html#pragma_optimize
> To achieve the best long-term query performance without the need to do a detailed engineering analysis of the application schema and SQL, it is recommended that applications run "PRAGMA optimize" (with no arguments) just before closing each database connection. Long-running applications might also benefit from setting a timer to run "PRAGMA optimize" every few hours.
> This pragma is usually a no-op or nearly so and is very fast.
Since we keep the recorder connection open for the entire time HA
is running we fall into the long-running application bucket
2023-04-11 22:39:19 -04:00
J. Nick Koston
4e6937d20f
Avoid multiple round trips to the database for history API calls ( #91193 )
...
* delete more code
* tweak
* tweak
* wrappers
* restore lost performance
* restore lost performance
* restore lost performance
* compact
* reduce
* fix refactor
* DRY
* tweak
* delete the start time state injector
* move away the legacy code
* tweak
* adjust
* adjust
* tweak
* ignore impossible
* fix a bug where the first start was changed to the start time when there was no previous history recorded before
* avoid the empty scan most cases
* postgresql
* fixes
* workaround for mariadb < 10.4
* remove unused
* remove unused
* adjust
* bail early
* tweak
* tweak
* fix more tests
* fix recorderrun being init in the future in the test
* run history tests on schema 30 as well
* Revert "run history tests on schema 30 as well"
This reverts commit d798b100ac
.
* reduce
* cleanup
* tweak
* reduce
* prune
* adjust
* adjust
* adjust
* reverse later is faster because the index is in forward order and the data size we are reversing is much smaller even if we are in python code
* Revert "reverse later is faster because the index is in forward order and the data size we are reversing is much smaller even if we are in python code"
This reverts commit bf974e103e
.
* fix test
* Revert "Revert "reverse later is faster because the index is in forward order and the data size we are reversing is much smaller even if we are in python code""
This reverts commit 119354499e
.
* more coverage
* adjust
* fix for table order
* impossible for it to be missing
* remove some more legacy from the all states
2023-04-11 22:38:23 -04:00
Michael Hansen
78fec33b17
Voip integration ( #90945 )
...
* Media playback working
* Working on OPUS audio
* Before rollback
* Fix is_end
* First working pipeline
* Clean up
* Remove asserts
* Send HA version in SDP
* Use async_pipeline_from_audio_stream
* Use config flow with allowed IP
* Satisfy ruff
* Remove use of regex for SIP IP
* Use voip-utils
* Fix imports
* Add Pipeline to __all__
* Fix voice assistant tests
* Basic VoIP test
* Run hassfest
* Generate requirements
* Bump voip utils (missing requirement)
* Allow tts_options to be passed in to pipeline run
* Add config flow tests
* Update test snapshots
* More tests
* Remove get_extra_info
* Appeasing the codebot
2023-04-11 20:25:05 -04:00
rlippmann
3a72054f93
Make dataclasses in HA core slotted ( #91208 )
2023-04-11 07:58:28 -10:00
Erik Montnemery
eb63bc7967
Fix switch_as_x name ( #91232 )
2023-04-11 13:54:30 -04:00