Commit Graph

43251 Commits (b166a6d88b94c223fce03dde8d3543d9f601c4fc)

Author SHA1 Message Date
J. Nick Koston 4e11246ba5
Create an issue when using older esphome firmwares when bluetooth support is enabled (#82162)
* Create an issue when using older esphome firmwares when bluetooth support is enabled

2022.11.0 has some significant stability imporvements with
BLE. Its is non-obvious if the user is running an older
esphome version that does not have the fixes

* name

* skip repair issue if a project name is set

* drop reflashing term

* Update homeassistant/components/esphome/strings.json

* Update homeassistant/components/esphome/translations/en.json

* Update homeassistant/components/esphome/translations/en.json

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Update homeassistant/components/esphome/translations/en.json

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Update homeassistant/components/esphome/strings.json

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Update homeassistant/components/esphome/strings.json

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Update homeassistant/components/esphome/strings.json

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-11-16 22:16:51 +02:00
epenet c62c19e58b
Use _attr_supported_features in tado climate (#82219) 2022-11-16 21:52:36 +02:00
epenet ba546e1072
Use _attr_supported_features in nexia climate (#82218) 2022-11-16 13:47:58 -06:00
J. Nick Koston 7ce6600f69
Fix missing await in nexia emergency heat (#82207)
fixes undefined
2022-11-16 19:02:09 +01:00
J. Nick Koston 08398370c5
Bump dbus-fast to 1.74.1 (#82202) 2022-11-16 11:26:47 -06:00
Erik Montnemery aaec464627
Add support for managing the silabs multiprotocol add-on (#82170)
* Add support for managing the silabs multiprotocol add-on

* Fix passing context when starting option flow

* Allow unloading a ha yellow config entry

* Fix tests

* Log data passed to ZHA option flow

* Improve ZHA migration logic

* Move tests

* Improve test coverage

* Remove dead code

* Drop automatic ZHA migration
2022-11-16 17:38:07 +01:00
Erik Montnemery 607a0e7697
Reduce size of get_statistics_during_period WS API response (#82131) 2022-11-16 17:36:30 +01:00
Erik Montnemery bb64b39d0e
Minor refactor of zha config flow (#82200)
* Minor refactor of zha config flow

* Move ZhaRadioManager to a separate module
2022-11-16 17:13:23 +01:00
epenet f952b74b74
Adjust type hints for AlarmControlPanelEntityFeature (#82186) 2022-11-16 17:08:42 +01:00
J. Nick Koston 1f0691bf18
Bump bluetooth-auto-recovery to 0.4.0 (#82195) 2022-11-16 17:07:01 +01:00
epenet 615f7204cb
Add type hints to mobile app webhooks (#82177) 2022-11-16 16:07:43 +01:00
Franck Nijhof 6a1bb8c421
Deprecate Python 3.9 (#82193) 2022-11-16 15:38:10 +01:00
epenet 871b4135ee
Remove unused variable in qvr_pro (#82190) 2022-11-16 15:26:37 +01:00
Martin Hjelmare ecb7509333
Add tibber price sensor state class (#82189) 2022-11-16 15:12:08 +01:00
epenet 5d78632d04
Adjust type hints for CameraEntityFeature (#82191) 2022-11-16 14:44:08 +01:00
Aarni Koskela 4f7b583f19
Fix shadowing of outer name in config_validation (#82088)
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-11-16 14:04:57 +01:00
shou72 987b840665
Add Tuya wkcz thermostat sensors and switches (#81667)
fixes undefined
2022-11-16 13:51:33 +01:00
Olliver Schinagl 7dfb8dda0a
Keep rest_command interface consistent (#82116)
rest_command: Keep interface consistent

This is a tiny cosmetic patch, where we keep the variable names of the
interface more consistent, to avoid having to wonder "is it a name or a
command?".

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
2022-11-16 13:30:05 +01:00
Yukon Vinecki 9098592257
Fix Z-Wave JS cover stop support (#78723)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-11-16 13:14:14 +01:00
Robert Hillis d38bae76be
Add missing strings in Onvif (#82141) 2022-11-16 13:04:34 +01:00
Owen Johnson 3695f39515
Correctly Map Heavy Rain and Thunderstorms (#80926) 2022-11-16 13:02:26 +01:00
Erik Montnemery 1582d88957
Remove deprecated history WS API (#82136) 2022-11-16 12:54:03 +01:00
Diogo Gomes 7999f109d1
Fix ONVIF subscription errors (#81965)
fixes undefined
2022-11-16 12:51:14 +01:00
Robert Svensson af6338343e
Remove (2021) backwards supporting functionality from UniFi (#81981) 2022-11-16 12:49:10 +01:00
Erik Montnemery 9b8f94363c
Fix statistic_during_period for data with holes (#81847) 2022-11-16 12:46:29 +01:00
epenet a91abebea8
Use IntFlag for EntityFeature (#81903) 2022-11-16 12:43:17 +01:00
Franck Nijhof e01115fd1f
Update apprise to 1.2.0 (#82182) 2022-11-16 12:39:39 +01:00
rappenze ff1ec7a028
Normalize url entered in fibaro integration setup dialog (#81996)
* Normalize url entered in fibaro integration setup dialog

* Improvements as suggested in code review

* Fix spelling in comments
2022-11-16 10:44:34 +01:00
muppet3000 93401df73f
Fix Growatt incorrect energy dashboard values for grid import (#82163)
* Fix Growatt incorrect energy dashboard values for grid import (#80905)

* Growatt - addressing review comments (#80905)

* Growatt - addressing more review comments (#80905)
2022-11-16 10:41:14 +01:00
Franck Nijhof 5b29fe650b
Revert "Wake on LAN yaml configuration move to integration key" (#82184) 2022-11-16 10:22:50 +01:00
cnico c7dfd6b15a
Add flipr battery level sensor (#81389)
* Addition of battery level sensor. Correction of pylint errors

* Review improvement for typing

* Review improvement for typing

* Correction following review
2022-11-16 09:42:31 +01:00
Jean-François Paris 532c6b74d4
Enable long term stats for fitbit entities (#81934) 2022-11-16 09:27:51 +01:00
Brynley McDonald 3bfb91d159
Add integration_type for flick_electric (#81065)
* Add integration_type for flick_electric

* Updates from hassfest
2022-11-16 00:27:09 -06:00
epenet 00f4933e72
Import tag from homeassistant.components (#82161) 2022-11-16 07:09:46 +01:00
G Johansson 52298a251b
Wake on LAN yaml configuration move to integration key (#81249)
* Wake on Lan integration yaml

* clean code

* Add test

* Add test fixture

* Address loading
2022-11-16 06:23:48 +01:00
Kevin Stillhammer aedbfdabee
Use HERE API v8 (#80892)
* Use HERE API v8

Signed-off-by: Kevin Stillhammer <kevin.stillhammer@gmail.com>

* Add migration

Signed-off-by: Kevin Stillhammer <kevin.stillhammer@gmail.com>

* Catch correct voluptuous error

Signed-off-by: Kevin Stillhammer <kevin.stillhammer@gmail.com>

* Use list comprehension for transit values

* Add migration alternative

Signed-off-by: Kevin Stillhammer <kevin.stillhammer@gmail.com>
2022-11-15 19:04:41 -08:00
J. Nick Koston 495ca67e8b
Bump xiaomi_ble to 0.12.2 (#82167) 2022-11-15 20:38:46 -06:00
J. Nick Koston 248b93f112
Update aiohomekit to 2.3.0 (#82164) 2022-11-15 20:38:31 -06:00
GitHub Action 361bd6bb81 [ci skip] Translation update 2022-11-16 00:27:00 +00:00
Robert Hillis 21b32804d1
Fix Google Sheets formula input (#82157) 2022-11-15 23:07:43 +01:00
J. Nick Koston ae7272575a
Enable shelly BLE when the scanner is enabled if it is disabled (#82153)
Co-authored-by: Shay Levy <levyshay1@gmail.com>
2022-11-15 15:37:45 -06:00
J. Nick Koston 7614aba401
Stop shelly BLE scanner on unload (#82151)
* Stop shelly BLE scanner on unload

needs https://github.com/home-assistant-libs/aioshelly/pull/285

* bump
2022-11-15 23:22:33 +02:00
Franck Nijhof a2e638329e
Update geopy to 2.3.0 (#82145) 2022-11-15 21:52:50 +01:00
Aarni Koskela 8038485ca4
Use partition instead of split where possible in core (#81806) 2022-11-15 21:45:48 +01:00
J. Nick Koston 682187541f
Move BluetoothServiceInfoBleak to home_assistant_bluetooth (#82064) 2022-11-15 14:00:52 -06:00
Steve Repsher c940ad9920
Add autocomplete to text selector (#81060) 2022-11-15 12:58:59 -06:00
J. Nick Koston 435fc23737
Add shelly ble scanner support (#82007) 2022-11-15 12:34:45 -06:00
Jan Bouwhuis 7932864e00
Always update attributes on an update for MQTT update (#82139) 2022-11-15 18:43:01 +01:00
J. Nick Koston ade4b62aec
Fix instability with HomeKit trigger accessories (#80703)
fixes https://github.com/home-assistant/core/issues/78774
fixes https://github.com/home-assistant/core/issues/81685
2022-11-15 18:41:55 +01:00
Robert Svensson 1331a3771a
Block client switches should rely only on events for state changes (#81883)
fixes undefined
2022-11-15 18:31:30 +01:00
J. Nick Koston c65f894fbe
Bump PySwitchbot to 0.20.5 (#82099) 2022-11-15 18:30:03 +01:00
Jeef dd38d2ff05
Increasing device usage update interval for Flume (#81968) 2022-11-15 18:29:32 +01:00
J. Nick Koston f035223599
Make sure the config_flow key is set for brands (#82038)
Fixes https://github.com/home-assistant/frontend/issues/14376
2022-11-15 18:27:59 +01:00
epenet af9ac9022b
Import tag via hass.components in mobile_app (#82138)
* Import tag via hass.components in mobile_app

* Update webhook.py
2022-11-15 18:27:37 +01:00
Franck Nijhof ab5c99fe22
Update sentry-sdk to 1.11.0 (#82122) 2022-11-15 17:59:02 +01:00
Jan Bouwhuis 285c61c0d7
Add TagProtocol as type hint in MQTT tag (#82134) 2022-11-15 16:54:39 +01:00
Franck Nijhof 19e5e671a2
Update sqlalchemy to 1.4.44 (#82129) 2022-11-15 08:51:13 -06:00
J. Nick Koston f497b989b9
Bump dbus-fast to 1.74.0 (#82107)
changelog: https://github.com/Bluetooth-Devices/dbus-fast/compare/v1.73.0...v1.74.0
2022-11-15 15:27:54 +01:00
uvjustin e7dd31f37b
Iterate over entities safely in camera setup (#82080)
fixes undefined
2022-11-15 08:02:35 -06:00
epenet 4cce359960
Fix legacy scrape scan interval (#81764)
* Fix legacy scrape scan interval

* Adjust init

* Adjust tests

* Clearer default
2022-11-15 13:39:30 +01:00
Jan Bouwhuis 6975186f2f
Improve MQTT type hints / refactor part 10 - vacuum (#81253)
* Improve type hints vacuum __init__ and schema

* Improve type hints and refactor templates legacy

* Improve type hints state vacuum

* Add hint for template parameters

* Apply suggestions from code review

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

* Some corrections

* Remove stale constant

* Use bitwise and

* Follow-up comment

* Remove incorrect type hint

* Remove asserts

* Cleanup  asserts and reduce code

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-11-15 12:48:02 +01:00
uvjustin 6bab63fb0a
Redact more credentials in stream URL query params (#82089)
Co-authored-by: Allen Porter <allen.porter@gmail.com>
2022-11-15 12:42:40 +08:00
Andrew Berry f96a4e2d0f
Fix HomeKit logging None instead of the linked battery sensor (#81860) 2022-11-14 21:35:10 -06:00
J. Nick Koston 9c0a3cdae0
Fix homekit_controller comment (#82111) 2022-11-14 21:18:10 -06:00
GitHub Action 83a6012f80 [ci skip] Translation update 2022-11-15 00:26:42 +00:00
J. Nick Koston 956120662e
Add the ability to register for shelly event callbacks (#82052) 2022-11-14 19:58:10 +01:00
Aarni Koskela 3d29638804
Deduplicate `sensor_device_info_to_device_info` (#81905)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-11-14 12:12:53 -06:00
Ernst Klamer af73afa2e2
Add support for HHCCJCY10 to xiaomi_ble (#82069) 2022-11-14 11:18:51 -06:00
J. Nick Koston 1ded3ac51e
Poll HomeKit Controller locks for state after lock operation (#82058) 2022-11-14 10:54:28 -06:00
Aarni Koskela bbda122c99
Fix mqtt typo (#82086)
mqtt: fix "certiticate" typo
2022-11-14 16:22:23 +01:00
Aarni Koskela fa9a51e528
Use os.path.dirname() for getting the directory name of a path (#81504) 2022-11-14 15:21:35 +01:00
epenet 1826795d37
Add TagProtocol for type checking (#81086)
* Add TagProtocol for type checking

* Adjust type hints
2022-11-14 14:32:10 +01:00
Pascal Reeb e9117cd1db
Update pynuki to 1.6.0 (#81208) 2022-11-14 13:43:24 +01:00
muppet3000 096ef85c68
Bump growattServer to 1.2.4 (#82071)
Growatt - Library bump to workaround for #81951
2022-11-14 10:41:25 +01:00
Thomas Dietrich a0b0e4088c
Replace quantiles by percentile characteristic for statistics component (#81027)
* Remove quantiles characteristic

* Add percentile characteristic
2022-11-14 09:23:02 +01:00
Allen Porter 4bf233a4c1
Bump python-google-nest-sdm to 2.1.0 (#82066) 2022-11-13 18:24:32 -08:00
Avi Miller 42652872f6
Restore color_temp handling for lifx.set_state (#82067)
fixes undefined
2022-11-13 19:43:45 -06:00
Christopher Bailey ae436d46fc
Add options to UniFi Protect diagnostics (#82062) 2022-11-13 17:57:09 -06:00
J. Nick Koston 298c95d9f0
Bump pySwitchbot to 0.20.4 (#82055)
Fixes for curtain firmware v6

changelog: https://github.com/Danielhiversen/pySwitchbot/compare/0.20.3...0.20.4
2022-11-14 00:12:52 +01:00
J. Nick Koston f584efa0c2
Move bluetooth remote scanner implementation into a base class (#82012) 2022-11-13 14:18:36 -06:00
Oliver Dippel bd28483b43
Fix ibeacon source attribute not being updated (#81740)
fixes undefined
2022-11-13 14:17:59 -06:00
J. Nick Koston 50f960097f
Add support for thermobeacon WS 03 aka device 0x18 (#82045)
* Add support for thermobeacon WS 03 aka device 0x18

changelog: https://github.com/Bluetooth-Devices/thermobeacon-ble/compare/v0.3.2...v0.4.0

* empty
2022-11-13 20:30:50 +01:00
On Freund 52a8f4df82
Refactor binary sensor creation in Risco integration (#82043) 2022-11-13 11:53:54 -06:00
Avi Miller fe7ffe9519
Enable more customization of the LIFX pulse and color loop effects (#81699) 2022-11-13 10:59:47 -06:00
Allen Porter 2ff45e198d
Bump pyrainbird 0.6.2 (#82040) 2022-11-13 10:56:38 -06:00
G Johansson f25ec15b07
Add element sensors to Sensibo (#82025)
fixes undefined
2022-11-13 09:40:11 -06:00
Christopher Bailey bfd2eb50b2
Detect Early Access versions of UniFi Protect and Warn User (#81758) 2022-11-13 09:34:29 -06:00
Vincent Giorgi 8252d7f3b5
Bump airthings-ble to 0.5.3 (#82033)
Bump airthings-ble
2022-11-13 16:11:07 +01:00
Malte Franken 3658c5f673
Add integration_type to nsw_rural_fire_service_feed (#82031)
define integration type
2022-11-13 16:06:33 +01:00
G Johansson 50c686343e
Bump pysensibo to 1.0.21 (#82023)
* pysensibo 1.0.21

* Add name to fixture
2022-11-13 16:05:54 +01:00
Allen Porter edad5ece58
Bump gcal_sync 4.0.2 (#82017) 2022-11-13 06:58:59 -08:00
David F. Mulcahey ebffe0f33b
Fix ZHA configuration APIs (#81874)
* Fix ZHA configuration loading and saving issues

* add tests
2022-11-13 08:30:16 -05:00
J. Nick Koston e4ecaa433a
Update bluetooth util for upcoming bleak (#82020)
Fixes
```
Nov 08 21:41:14 homeassistant homeassistant[474]: /usr/src/homeassistant/homeassistant/components/bluetooth/util.py:39: FutureWarning: BLEDevice.rssi is deprecated and will be removed in a future version of Bleak, use AdvertisementData.rssi instead
Nov 08 21:41:14 homeassistant homeassistant[474]:   rssi=history.device.rssi,

```
2022-11-13 11:28:49 +01:00
J. Nick Koston 62bd692a58
Bump bluetooth-data-tools to 0.3.0 (#82016)
prep work for #82007

changelog: https://github.com/Bluetooth-Devices/bluetooth-data-tools/compare/v0.2.0...v0.3.0
2022-11-13 09:47:24 +01:00
Allen Porter 636bfe0f7b
Bump pyrainbird to 0.6.1 (#82009)
* Bump pyrainbird to 0.6.0

* Bump pyrainbird to 0.6.1
2022-11-13 09:33:26 +01:00
corneyl a848dc1155
Add service for adding products to a Picnic order (#67877)
* Add Picnic services for searching products and adding products to the cart

* Improve the Picnic services implementation and add unit tests

* Fix pre-commit check issues

* Fix comments and example product name

* Remove search service, update add_product service schema

* Fix pylint suggestion

* Add more tests and removed unused code

* Remove code needed for the removed service, clean tests from obvious comments and add type hints

* Remove unused import

* Remove unnecessary comments and simplify getting the config entry id

Co-authored-by: Allen Porter <allen.porter@gmail.com>

* Don't use hass.data in tests, make device id mandatory for service

* Rewrite all service tests so using lru.cache is not needed

* Add test for uncovered line in _product_search()

* Require a config entry id as service parameter instead of device id

* Use explicit check in get_api_client() and raise HomeAssistantError

* Fix HomeAssistantError import, fix services tests

* Change HomeAssistantError to ValueError when config entry is not found

Co-authored-by: Allen Porter <allen.porter@gmail.com>
2022-11-12 20:15:45 -08:00
kingy444 7ddf2e4ca4
Bump Powerview aiopvapi to 2.0.4 (#82014) 2022-11-12 20:58:02 -06:00
GitHub Action 6df90291cf [ci skip] Translation update 2022-11-13 00:25:38 +00:00
Ian Byrne 9be2704c11
Add option to include attachments from remote URL to Discord notifications (#74811)
* Add option to include attachments from remote URL to Discord notifications

* Use aiohttp instead of requests for Discord Notify URL retrieval

* Refactor discord notifications code

* Remove unecessary images check in discord notifier
2022-11-12 16:11:06 -08:00
Cougar 5e610cdfd2
Bump luftdaten to 0.7.4 (#82002)
Bump luftdaten to 0.7.4 (#61687)

changelog: https://github.com/home-assistant-ecosystem/python-luftdaten/compare/0.7.2...0.7.4

Fixes API connection error handling (#61687)
2022-11-12 14:24:33 -08:00