Commit Graph

43381 Commits (1e68e8c4b4836c9aabe5451426053428b2af905c)

Author SHA1 Message Date
epenet 9d607c8bd5
Adjust type hints for WaterHeaterEntityFeature (#82270) 2022-11-17 15:51:55 +01:00
epenet ced16da576
Adjust type hints for VacuumEntityFeature (#82269) 2022-11-17 15:31:09 +01:00
epenet 3be750812d
Adjust type hints for UpdateEntityFeature (#82268) 2022-11-17 15:17:50 +01:00
epenet 295cd0143c
Adjust type hints for SirenEntityFeature (#82266) 2022-11-17 15:06:26 +01:00
epenet 9b9bdc725f
Adjust type hints for RemoteEntityFeature (#82265) 2022-11-17 15:06:16 +01:00
Erik Montnemery b6586d5c34
Align number and sensor device classes (#81909)
* Align number and sensor device classes

* Add tests

* Tweak tests
2022-11-17 14:00:28 +01:00
epenet 18e30e7c06
Adjust type hints for MediaPlayerEntityFeature (#82258) 2022-11-17 13:58:34 +01:00
epenet 44b28d67f1
Use _attr_supported_features in nest climate (#82217) 2022-11-17 04:03:50 -08:00
epenet 8570d3aabe
Adjust type hints for LockEntityFeature (#82256) 2022-11-17 12:47:48 +01:00
epenet 4986f65dca
Adjust supported_features defaults in lights (#82252) 2022-11-17 12:47:08 +01:00
epenet dd7bc7971f
Adjust type hints for LightEntityFeature (#82251) 2022-11-17 12:46:42 +01:00
epenet 8a084cf94d
Use _attr_supported_features in osram light (#82255) 2022-11-17 12:45:59 +01:00
epenet 2453f95b24
Adjust HumidifierEntity type hints (#82248) 2022-11-17 10:58:46 +01:00
epenet 38a8e86dde
Cleanup supported_features in group (#82242)
* Cleanup supported_features in group

* Remove defaults
(already set to 0 in fan and media_player)
2022-11-17 10:45:32 +01:00
Thomas Dietrich ad8b882cb6
Switch statistics config to require either/both 'max_age' and 'sampling_size' (#80999)
* Remove default characteristic

* Remove default sampling_size

* Fix typo

* Fix typo
2022-11-17 10:31:06 +01:00
epenet 1b80c66195
Adjust type hints for FanEntityFeature (#82241)
* Adjust type hints for FanEntityFeature

* Adjust template default
2022-11-17 10:30:39 +01:00
Jan Bouwhuis 3d00923665
Improve MQTT type hints / refactor part 9 - light (#81151)
* Improve type hints light base

* improve type hints light schema basic

* Improve type hints light schema json

* Use MQTT Template models with light template

* Addtional type hints for template light

* Improve template hints for schema template

* Use strict type hints for templates

* MyPy corrections

* Follow up comments

* Follow up comments

* Revert changes schema_json

* Revert changes schema template

* Hints setup_entity_json and setup_entity_template

* Remove type hint on setup_entity JSON
2022-11-17 10:22:25 +01:00
epenet da2efde354
Set alarm and climate supported features default (#82247) 2022-11-17 10:21:55 +01:00
Jan Bouwhuis f60850586e
Remove `b64` encoding work-a-round for MQTT camera (#82244) 2022-11-17 10:11:25 +01:00
J. Nick Koston 4c8850ec7b
Add dhcp support for newer powerwall gateways (#82236) 2022-11-17 10:10:55 +01:00
epenet 6424c71daa
Cleanup supported_features in demo (#82239)
* Cleanup supported_features in demo cover

* Improve other platforms

* Adjust media_player patch
2022-11-17 09:39:46 +01:00
Kevin Stillhammer 146fe8f156
Rename convert_time_to_isodate to next_datetime (#82214) 2022-11-17 09:06:56 +01:00
epenet 17573196c8
Adjust type hints for CoverEntityFeature (#82238) 2022-11-17 08:39:44 +01:00
epenet 6856374f24
Cleanup supported_features in smartthings cover (#82240) 2022-11-17 09:32:42 +02:00
GitHub Action c999953514 [ci skip] Translation update 2022-11-17 00:26:24 +00:00
J. Nick Koston 4b89d087bb
Bump home-assistant-bluetooth to 1.8.1 (#82222)
changelog: https://github.com/home-assistant-libs/home-assistant-bluetooth/compare/v1.8.0...v1.8.1
2022-11-16 23:08:17 +02:00
epenet e85e79052b
Improve climate type hints for supported_features (#82223) 2022-11-16 23:07:48 +02:00
J. Nick Koston 9d8dfc2d71
Add effects support to led-ble (#82224) 2022-11-16 23:07:02 +02:00
epenet e37211ad42
Use _attr_supported_features in demo climate (#82216) 2022-11-16 21:28:23 +01:00
epenet 39ac2c1101
Adjust type hints for ClimateEntityFeature (#82206) 2022-11-16 21:17:50 +01:00
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
Ziv b6c27585c7
Implemented RestoreEntity for Dynalite (#73911)
* Implemented RestoreEntity
Merged commit conflict

* removed accidental change

* Update homeassistant/components/dynalite/dynalitebase.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* added tests for the state

* added tests for switch state

* moved to ATTR_x and STATE_x instead of strings
some fixes to test_cover

* moved blind to DEVICE_CLASS_BLIND

* used correct constant instead of deprecated

* Implemented RestoreEntity

* removed accidental change

* added tests for the state

* added tests for switch state

* moved to ATTR_x and STATE_x instead of strings
some fixes to test_cover

* fixed isort issue from merge

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-11-12 22:59:29 +01:00
On Freund 4bb1f4ec79
Add Armed binary sensor to local Risco (#81997) 2022-11-12 21:29:31 +01:00
uvjustin ee910bd0e4
Refactor camera stream settings (#81663) 2022-11-13 01:22:59 +08:00
rappenze 1fe85c9b17
Fix accelerator sensor in fibaro integration (#81237)
* Fix accelerator sensor in fibaro integration

* Implement suggestions from code review

* Implement suggestions from code review

* Changes as suggested in code review

* Adjust as suggested in code review
2022-11-12 10:43:11 +01:00
GitHub Action a6a3bf261d [ci skip] Translation update 2022-11-12 00:28:24 +00:00
J. Nick Koston de48ae2e53
Bump dbus-fast to 1.73.0 (#81959)
changelog: https://github.com/Bluetooth-Devices/dbus-fast/compare/v1.72.0...v1.73.0
2022-11-11 23:22:22 +01:00
David F. Mulcahey 8ee60c2e7f
Bump ZHA quirks lib to 0.0.86 (#81966) 2022-11-11 17:03:32 -05:00
J. Nick Koston a8aea6df5e
Bump oralb-ble to 0.14.2 (#81969)
fixes detection of the black 9000 model

fixes #81967

changelog: https://github.com/Bluetooth-Devices/oralb-ble/compare/v0.14.1...v0.14.2
2022-11-11 17:01:54 -05:00
muppet3000 380ae12997
Fix Growatt missing state class (#81980)
Growatt - Fix #80003 - Add missing state class
2022-11-11 17:01:15 -05:00
epenet 1baa5c12c0
Fix rest schema (#81857) 2022-11-11 10:08:26 -06:00
Jc2k b5dfe8c6b9
Fix battery %, battery voltage and signal strength not being diagnostic entities in xiaomi_ble (#81960) 2022-11-11 15:37:57 +00:00
J. Nick Koston 89959e7cda
Reduce complexity of bluetooth scanners for local adapters (#81940)
This is a small refactor to align the bluetooth scanner class
to the same design used in the esphome scanner to pass the
callback for new service infos in the constructor.

The original thinking was that multiple callbacks would
be needed to send the service infos to different paths,
however with the creation of a central manager, this
designed turned out to not be needed and can be
simplified
2022-11-11 14:59:06 +01:00
J. Nick Koston 6517e3e21e
Fix esphome bleak client seeing disconnects too late (#81932)
* Fix esphome bleak client seeing disconnects too late

Because allbacks are delivered asynchronously its possible
that we find out during the operation before the callback
is delivered telling us about the disconnected.

We now watch for error code -1 which indicates the connection
dropped out from under us

* debug logging

* cleanup comment

* Fix comment grammar

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-11-11 09:09:28 +01:00
J. Nick Koston 8c9a8d72a8
Bump PySwitchbot to 0.20.3 (#81938)
changelog: https://github.com/Danielhiversen/pySwitchbot/compare/0.20.2...0.20.3

releases the connection sooner to reduce the risk
of running out of connection slots on the ble adapter
2022-11-11 08:53:07 +01:00
J. Nick Koston 777bf27dda
Bump bleak-retry-connector to 2.8.4 (#81937)
changelog: https://github.com/Bluetooth-Devices/bleak-retry-connector/compare/v2.8.3...v2.8.4

reduces the risk that the operation will fail because the adapter
temporarily runs out of connection slots
2022-11-11 08:51:58 +01:00
GitHub Action df0ba28b05 [ci skip] Translation update 2022-11-11 00:30:00 +00:00
J. Nick Koston 5621dfe419
Small cleanups for HomeKit Controller (#81933) 2022-11-10 17:07:30 -06:00
Aaron Bach f67ecd8ef5
Bump aioridwell to 2022.11.0 (#81929) 2022-11-10 15:32:49 -06:00
J. Nick Koston 78180b2ad8
Fix bluetooth adapters with missing firmware patch files not being discovered (#81926) 2022-11-10 14:14:37 -06:00
cdheiser 2813101418
Add cdheiser to Lutron codeowners (#81922)
* Update manifest.json

Add cdheiser as codeowner

* Update CODEOWNERS

Add @cdheiser as owner of Lutron.
2022-11-10 19:35:47 +01:00
Guido Schmitz 97ebe59584
Use UnitOfTemperature in devolo Home Control (#81923) 2022-11-10 19:33:10 +01:00
Allen Porter e6d1a4a422
Revert google calendar back to old API for free/busy readers (#81894)
* Revert google calendar back to old API for free/busy readers

* Update homeassistant/components/google/calendar.py

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-11-10 08:31:28 -08:00
Erik Montnemery a2da1c7db5
Create repairs issue if an outdated currency code is configured in core store (#81772)
* Create repairs issue if an outdated currency code is configured in core store

* Update homeassistant/config.py

Co-authored-by: Aarni Koskela <akx@iki.fi>

Co-authored-by: Aarni Koskela <akx@iki.fi>
2022-11-10 17:28:19 +01:00
Erik Montnemery 25d54f407e
Fix race when deleting a scene (#81896) 2022-11-10 17:27:26 +01:00
Erik Montnemery 2f9982d1c7
Fix race when deleting a script (#81897) 2022-11-10 17:27:14 +01:00
Erik Montnemery ae2b2acab5
Fix grammar in tts service description (#81916) 2022-11-10 17:25:42 +01:00
Jan Bouwhuis 7500d0c61c
Refactor MQTT_WILL_BIRTH_SCHEMA (#81879)
* Refactor MQTT_WILL_BIRTH_SCHEMA

* Refactor and move birth/will validation to utils

* Simplify birth will validation
2022-11-10 15:24:56 +01:00
Erik Montnemery 9bd676aff6
Improve automation reload (#81854)
* Improve automation reload

* Small tweak

* Improve
2022-11-10 14:44:55 +01:00
Matthias Alphart ee9231363f
Refactor KNX Config and Options flows (#80641) 2022-11-10 14:25:41 +01:00
Erik Montnemery 874ece195e
Include config entry id in response to WS API hardware/info (#81906) 2022-11-10 13:19:21 +01:00
lunmay a954443795
Fix string typos and consistencies in nibe_heatpump (#81902)
* Fix typos and consistency

* Fix typos and consistency
2022-11-10 10:32:07 +01:00
Martin Hjelmare 9ded232522
Move zwave_js addon manager to hassio integration (#81354) 2022-11-10 10:09:52 +01:00
Ernst Klamer 0bd04068de
Omit unit of measurement and device class equal to None (#81880)
Omit unit of measurement and dev class none
2022-11-10 09:40:22 +01:00
Malte Franken 3089ca06c5
Add integration_type to qld_bushfire (#81895)
define integration type
2022-11-10 08:16:37 +01:00
Allen Porter f34de5072a
Bump gcal_sync to 4.0.1 to fix Google Calendar config flow (#81873)
Bump gcal_sync to 4.0.1

This reverts test chagnes from PR #81562 that were actually incorrect given
the calendar "get" API returns less information that the "CalendarList" api.
2022-11-09 19:34:31 -08:00
GitHub Action 8b4dbbe593 [ci skip] Translation update 2022-11-10 00:27:41 +00:00
Aaron Bach adf84b0c62
Add `async_get_active_reauth_flows` helper for config entries (#81881)
* Add `async_get_active_reauth_flows` helper for config entries

* Code review

* Code review + tests
2022-11-09 15:36:50 -07:00
J. Nick Koston b18c558a80
Bump oralb-ble to 0.14.1 (#81869) 2022-11-09 10:21:31 -06:00
J. Nick Koston 438184a43c
Bump aiohomekit to 2.2.19 (#81867) 2022-11-09 10:01:12 -06:00
Aarni Koskela f3e85b6492
Deduplicate blackening (#81802) 2022-11-09 16:58:20 +01:00
uvjustin 84725f15a6
Use IntEnum for stream orientation (#81835)
* Use IntEnum for stream orientation

* Rename enum values

* Add comments

* Fix import
2022-11-09 07:28:28 -08:00
Jc2k 9de4d7cba3
Fix homekit_controller climate entity not becoming active when changing modes (#81868) 2022-11-09 15:27:36 +00:00
Ville Skyttä e690db9ba6
Upgrade huawei-lte-api to 1.6.7, fixes empty username issues (#81751)
Recentish versions of huawei-lte-api behave differently with regards to
empty/default username compared to the older versions this integration
was originally written against. 1.6.5+ changes the behavior so that our
existing implementation works as expected when no username is supplied
for the config entry.

https://github.com/Salamek/huawei-lte-api/releases/tag/1.6.4
https://github.com/Salamek/huawei-lte-api/releases/tag/1.6.5
https://github.com/Salamek/huawei-lte-api/releases/tag/1.6.6
https://github.com/Salamek/huawei-lte-api/releases/tag/1.6.7
2022-11-09 15:51:33 +01:00
Phil Bruckner 8874bf7791
Change life360 timeouts & retries (#81799)
Change from single timeout of 10 to socket timeout of 15, total timeout of 60, and retry up to 3 times.

Bump life360 package to 5.3.0.
2022-11-09 15:44:30 +01:00
Aarni Koskela 5a6f7e66cb
Refactor + strictly-type image component (#81808)
* image: refactor size validation to use partition

* image: give _generate_thumbnail types and use partition

* image: become strictly typed
2022-11-09 15:36:03 +01:00
Aarni Koskela ec316e94ed
RuuviTag BLE sensor support (#81327) 2022-11-09 08:35:30 -06:00
Ernst Klamer b72876d369
Add support for BTHome V2 to bthome (#81811)
* Add BTHome v2 support

* Add new sensor types

* Add new sensor types
2022-11-09 15:31:58 +01:00
Hessel 4b4bf54994
Bump wallbox to 0.4.12 (#81852)
Version Bump for WALLBOX
2022-11-09 15:22:54 +01:00
Vincent Knoop Pathuis 0cd9fe3288
Landis+Gyr Heat Meter code improvements (#81184) 2022-11-09 13:45:28 +01:00
Franck Nijhof 2eb37f527a
Update psutil to 5.9.4 (#81840) 2022-11-09 12:45:33 +01:00
Aarni Koskela 738419309d
Add numpy requirement to stream (#81841)
Closes https://github.com/home-assistant/core/pull/81790
2022-11-09 12:22:14 +01:00
epenet 402bac5ed7
Improve type hints in camera (#81794) 2022-11-09 12:14:26 +01:00
Malte Franken b7f3eb77dc
Add integration_type to usgs_earthquakes_feed (#81846) 2022-11-09 11:20:27 +01:00
Avishay 92b5721f80
Fix modbus hvac mode keys (#81747)
Change the HVAC mode register conf constants
2022-11-09 11:09:21 +01:00
Kryštof Korb 21d96e00a2
Use better icon for system monitor IP sensor (#81779) 2022-11-09 10:51:28 +01:00
Aarni Koskela 44e4b8c676
Omit native_unit_of_measurement=None (#81844) 2022-11-09 10:48:37 +01:00
epenet 9f691ab359
Revert "Fix coordinator TypeVar definition (#81298)" (#81834) 2022-11-09 09:03:59 +01:00
J. Nick Koston ad992f0a86
Fix switchbot not becoming available again after unavailable (#81822)
* Fix switchbot not becoming available again after unavailable

If the advertisment was the same and we were previously
marked as unavailable we would not mark the device as
available again until the advertisment changed. For lights
there is a counter but for the bots there is no counter
which means the bots would show unavailable even though
they were available again

* naming

* naming
2022-11-09 08:09:06 +01:00
GitHub Action dcf68d768e [ci skip] Translation update 2022-11-09 00:27:20 +00:00
Joakim Plate 58c691be1e
Update nibe to 1.2.1 with support for 2120 pumps (#81824)
Update nibe to 1.2.1
2022-11-09 01:20:55 +01:00
Aarni Koskela 6021cedb09
deconz: Use partition instead of split where possible (#81804)
* deconz: Use partition instead of split where possible

With a smattering of code deduplication

Split out of #81493

* Update homeassistant/components/deconz/util.py

Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>

Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
2022-11-08 20:54:01 +01:00
Jan Bouwhuis b364ef98a0
Use `_attr_` for MQTT vacuum (#81534)
* Use `_attr_` for MQTT vacuum

* Remove unneeded properties

* Follow-up comment

* Remove default value
2022-11-08 18:48:08 +01:00
Jan Bouwhuis 3cc9ecf1dc
Implement ConfigEntry async_wait_for_states (#81771)
* Implement async_wait_for_states

* stale docstr, remove hints

* Assert return states for tests
2022-11-08 17:18:40 +01:00
Jan Bouwhuis 7d768dc3a6
Improve MQTT type hints / refactor part 7 - trigger (#81019)
* Improve typing trigger

* Improve hints on templates

* Use new sentinel for template

* Follow-up comment
2022-11-08 17:02:06 +01:00
J. Nick Koston 2cb58b8189
Fix off by one in HomeKit iid allocator (#81793) 2022-11-08 09:20:03 -06:00
Aarni Koskela 88a7c76739
Fix late-import paho (#81791)
fix: late-import MQTTMessage

`paho-mqtt` is not listed in main requirements and is imported early by `conftest`.

Import it late to avoid an ImportError.

Split out from #81678.
2022-11-08 16:16:31 +01:00
ztamas83 5040b94330
Retry tibber setup (#81785)
* Handle integration setup retries

* Fix black error

* Update to falsy check

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

* Remove duplicated log

* Update exception message

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-11-08 16:09:58 +01:00
Aaron Bach 45be2a260e
Add re-auth flow for OpenUV (#79691) 2022-11-08 07:41:09 -07:00
Bram Kragten 014c2d487d
Update frontend to 20221108.0 (#81787) 2022-11-08 15:00:30 +01:00
Malte Franken 3edaef63b0
Add integration_type to ign_sismologia (#81729)
define integration type
2022-11-08 14:47:00 +01:00