Commit Graph
62197 Commits
Author SHA1 Message Date
J. Nick Koston 2a8a1bdc62 nicer message 2023-05-19 16:53:36 -05:00
J. Nick Koston 240f0cc490 moved 2023-05-19 16:43:36 -05:00
J. Nick Koston 82a4036965 moved 2023-05-19 16:40:18 -05:00
J. Nick Koston b5220c4149 dep 2023-05-19 16:33:43 -05:00
J. Nick Koston 65ddb464c3 back compat 2023-05-19 15:47:00 -05:00
J. Nick Koston 775dcebeb9 Revert "back compat"
This reverts commit 10bf6db3a2.
2023-05-19 15:41:45 -05:00
J. Nick Koston 10bf6db3a2 back compat 2023-05-19 15:29:29 -05:00
J. Nick Koston 484c9d4d1f fix 2023-05-19 15:26:59 -05:00
J. Nick Koston e7c95ee088 fixes 2023-05-19 15:24:55 -05:00
J. Nick Koston 18ef390dca make sure we actually get multiple servers 2023-05-19 14:14:03 -05:00
J. Nick Koston c34aa0e23b fix test 2023-05-19 14:12:42 -05:00
J. Nick Koston 2820a63f9f debug 2023-05-19 13:59:05 -05:00
J. Nick Koston 11a2e30d22 debug 2023-05-19 13:58:40 -05:00
J. Nick Koston 85dd053be8 back compat 2023-05-19 13:44:04 -05:00
J. Nick Koston 64424f672c back compat 2023-05-19 13:43:41 -05:00
J. Nick Koston 0652dda106 coverage 2023-05-19 13:34:04 -05:00
J. Nick Koston 5c3a76053d tweak 2023-05-19 13:28:34 -05:00
J. Nick Koston 00e784d0c4 adjust 2023-05-19 13:24:21 -05:00
J. Nick Koston 5c0614eb17 fix tests 2023-05-19 13:10:37 -05:00
J. Nick Koston cb06b5af78 Support multiple sites on the webserver
aiohttp already supports multiple TCPSites for a single server

This allows Home Assistant to listen on multiple ports with
different ssl configuration per port so that devices that
need a less secure configuration can be isolated to a single
port
2023-05-19 13:06:10 -05:00
J. Nick Koston d8fa06de67 Support multiple sites on the webserver
aiohttp already supports multiple TCPSites for a single server

This allows Home Assistant to listen on multiple ports with
different ssl configuration per port so that devices that
need a less secure configuration can be isolated to a single
port.

The motivation for this is that I did not want to downgrade
my entire ssl configuration for a single device that needs
a less secure configuration, or to support an ONVIF camera
that does not do SSL
2023-05-19 13:01:53 -05:00
Jan Čermák 3cdcfb1654 Bump rapt-ble to v0.1.1 (#93242) 2023-05-18 14:15:39 -05:00
Ville Skyttä cb22154b36 Capture warnings.warn and friends messages in logs (#85875)
The default behavior of these warnings is to go to stderr, which in
some setups goes easily unnoticed. For example in Docker based ones,
they end up only in the container logs, and not e.g. in the HA log.

Capture these to make them available in logs where other such messages
are, and to make them subject to filtering as usual.
https://docs.python.org/3/library/logging.html#logging.captureWarnings
2023-05-18 21:41:13 +03:00
Guido Schmitz 3abcffe3a0 Raise on reauth in devolo Home Network switch platform (#92850) 2023-05-18 11:28:17 -05:00
Andre Lengwenus 0fca90127b Bump pypck to 0.7.17 (#93234) 2023-05-18 11:26:37 -05:00
J. Nick KostonandMartin Hjelmare 763b898621 Add always connected option to Yale Access Bluetooth (#93224)
* Add always connected option to Yale Access Bluetooth

If the lock does not support push updates via advertisements or you want lock operation to be more responsive, you can enable always connected mode. Always connected will cause the lock to stay connected to Home Assistant via Bluetooth, which will use more battery.

* Update homeassistant/components/yalexs_ble/config_flow.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-05-18 10:48:04 -05:00
J. Nick Koston 2eef2ed911 Add option to disable webhooks in ONVIF (#93186) 2023-05-18 10:34:09 -05:00
Ville Skyttä 0c51de25a2 Update UpCloud config entry data on successful reconfig (#68718)
* Update UpCloud config entry data on successful reconfig

* Add already configured test

* Improve success case request mocking

So that the data fetch that might happen in the background after success
won't trash the test log with misleading errors.

* Simplify already configured test

Thanks-to: Martin Hjelmare <marhje52@gmail.com>
2023-05-18 16:04:27 +03:00
Joakim Plate ae7930c0ad Use entity translation in dsmr (#93017)
* Use entity translation in dsmr

* Combine a few strings
2023-05-17 22:31:04 +02:00
epenet 6481ee3c82 Fix lingering timers in yeelight (#92118) 2023-05-17 22:08:49 +02:00
epenet dad3fbf5e2 Fix lingering timer in esphome (#92533) 2023-05-17 22:05:44 +02:00
J. Nick Koston 3f43184187 Speed up signing paths (#93127) 2023-05-17 22:01:13 +02:00
MatthewFlammandepenet d0460d5424 Fix NWS error with no observation (#92997)
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-05-17 22:00:13 +02:00
Aaron Bach b9798e4f4f Add support for SimpliSafe Smoke+CO detector (#93217) 2023-05-17 21:56:49 +02:00
Michael Benz 0828cc0e44 Add light entity to Tuya Air Purifiers (#92861) 2023-05-17 20:16:54 +01:00
Franck Nijhof 1173039392 Add virtual integration: Whisper (#93183) 2023-05-17 13:34:09 +02:00
Franck Nijhof 08fd0fd441 Add virtual integration: Piper (#93182) 2023-05-17 13:33:52 +02:00
J. Nick Koston af1bac8745 Disconnect yale access locks at the stop event (#93192) 2023-05-17 13:25:28 +02:00
Nerdix 7cdd6b4cbc Increase timeout to 30 seconds for homeassistant_alerts integration (#93089) 2023-05-17 13:15:28 +02:00
J. Nick Koston 00b600bfa8 Fix ONVIF cameras that change the xaddr for the pull point service (#93104) 2023-05-17 13:14:31 +02:00
Franck Nijhof fb7c579216 Add missing entity attribute translations to humidifier entity component (#93206) 2023-05-17 13:10:08 +02:00
J. Nick Koston 32481065a8 Increase size of valid entity id cache (#93125) 2023-05-17 13:06:52 +02:00
Ziv f564a0ca24 Fix failure to register services in dynalite (#93069)
* fixed bug that fails to register services when there is no YAML config

* style improvement per thecode's suggestion
2023-05-17 14:05:36 +03:00
Matthias Alphart c522ea855d KNX Group Monitor: Load latest 50 Telegrams on start (#93153)
* remove impossible test

IndividualAddress telegrams are not processed by xknx.telegram_queue

* Use Telegrams helper class for group monitor messages

* Store 50 telegrams in deque for group monitor

* Send recent telegrams at once on connection of group monitor

* Update KNX-frontend to support group monitor prepopulation
2023-05-17 09:58:00 +02:00
J. Nick Koston b993fe1c9d Cache generation of the service descriptions (#93131) 2023-05-16 21:42:37 -05:00
tronikos 6c56ceead0 Create Google Generative AI Conversation integration (#93156)
* Copy openai_conversation to google_generative_ai_conversation
This is to improve diff of the next commit with the actual implementation.

Commands used:
cp -r homeassistant/components/openai_conversation/ homeassistant/components/google_generative_ai_conversation/
cp -r tests/components/openai_conversation/ tests/components/google_generative_ai_conversation/

find homeassistant/components/google_generative_ai_conversation/ tests/components/google_generative_ai_conversation/ -type f | xargs sed -i \
-e 's@openai_conversation@google_generative_ai_conversation@g' \
-e 's@OpenAI Conversation@Google Generative AI Conversation@g' \
-e 's@balloob@tronikos@g'

* Add google_generative_ai_conversation to Google brand

* Google Generative AI Conversation

* Sync recent openai changes

* handle empty responses
2023-05-16 21:05:56 -04:00
rikroeandrikroe defc23cc7c Fix china login for bmw_connected_drive (#93180)
* Bump bimmer_connected to 0.13.5

* Fix snapshots after dependency bump

* Load gcid from config entry if available

* Add tests

---------

Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2023-05-17 02:03:01 +02:00
J. Nick Koston 210c309770 Bump pyatv to 0.11.0 (#93172) 2023-05-16 18:52:18 -05:00
Aaron Bach e48961d29b Bump regenmaschine to 2023.05.1 (#93139) 2023-05-16 16:28:20 -06:00
J. Nick Koston bf16f6b104 Remove as_compressed_state cache (#93169)
* Remove as_compressed_state cache

All calls to as_compressed_state are now covered by a higher level
JSON cache so there is no need to store these in memory anymore

* Remove as_compressed_state cache

All calls to as_compressed_state are now covered by a higher level
JSON cache so there is no need to store these in memory anymore
2023-05-16 12:39:16 -05:00