Commit Graph

49988 Commits (71b92265af68f74f4128013321bd70c80fa8c754)

Author SHA1 Message Date
Joost Lekkerkerker c78c2b7c3b
Add translation keys to Tuya cover (#98040) 2023-08-08 18:02:47 +02:00
Joost Lekkerkerker ce1077934a
Move all used modbus constants to Stiebel (#98044) 2023-08-08 17:38:38 +02:00
Jan Bouwhuis 500d9a4da0
Alexa strict type hints (#97485)
* Enable strict typing

* Adjustments for stict typing
2023-08-08 17:15:25 +02:00
Maciej Bieniek 9910da2f3d
Add `neutral current` sensor for Shelly 3EM (#97981) 2023-08-08 16:47:18 +02:00
jan iversen fc463e5831
modbus: remove unused constants and get 100% coverage. (#97779) 2023-08-08 16:40:16 +02:00
Tom 4a4523c249
Bump plugwise to v0.31.9 (#97203)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: Bouwe <bouwe.s.westerdijk@gmail.com>
2023-08-08 16:38:37 +02:00
jan iversen a224b668d7
modbus: Adjust read count by slave_count (#97908) 2023-08-08 16:09:53 +02:00
Jan Bouwhuis 2a48159b69
Alexa typing part 6 (state_report) (#97920)
state_report
2023-08-08 15:46:54 +02:00
Massimiliano Cannarozzo 8b56e28838
Add neato dismiss alert button (#97572)
* Bump pybotvac

* Add neato dismiss alert button

* fixup! Add neato dismiss alert button

* fixup! Add neato dismiss alert button

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

* fixup! Add neato dismiss alert button

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

* fixup! Add neato dismiss alert button

* fixup! Add neato dismiss alert button

* fixup! Add neato dismiss alert button

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* fixup! Add neato dismiss alert button

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* fixup! Add neato dismiss alert button

* fixup! Add neato dismiss alert button

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-08-08 14:35:41 +02:00
Erik Montnemery 0d55a7600e
Modernize met_eireann weather (#98030) 2023-08-08 14:21:52 +02:00
Franck Nijhof 50ef674902
Use require_admin decorator for check_config permissions (#98028) 2023-08-08 12:19:20 +02:00
Jadson Santos f6273bfca5
Add prometheus requires_auth parameter (#92964)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-08-08 12:15:08 +02:00
Franck Nijhof 40e256847c
Add is_admin checks to scene/script/automation APIs (#98025) 2023-08-08 12:11:52 +02:00
Erik Montnemery 55619e7d6d
Modernize ecobee weather (#98023) 2023-08-08 12:06:24 +02:00
Jan Bouwhuis 0614702f98
Alexa typing part 5 (smart_home) (#97918)
* smart_home

* Fix test_disabled

* Remove unused type ignore
2023-08-08 11:48:50 +02:00
Erik Montnemery 1ee0c907b0
Improve OTBR factory reset (#98017)
Co-authored-by: Stefan Agner <stefan@agner.ch>
2023-08-08 11:38:01 +02:00
Jan Bouwhuis 3f542c47fd
Alexa typing part 4 (capabilities) (#97915)
* capabilities

* hvacmode

* tweaks

* name

* Corrections

* Missed hints

* remove unreachabe code
2023-08-08 11:07:52 +02:00
Franck Nijhof 5e020ea354
Add is_admin checks to cloud APIs (#97804) 2023-08-08 11:02:42 +02:00
Stephan Uhle 3859d2e2a6
Add edl21 sensor for positive active instantaneous power (#94736) 2023-08-08 10:35:31 +02:00
Franck Nijhof dacfa4b4dc
Set up shopping list during onboarding (#97974)
Co-authored-by: Simon Lamon <32477463+silamon@users.noreply.github.com>
2023-08-08 10:32:35 +02:00
Russell Cloran dfdf592837
Update prometheus-client to 0.17.1 (#97998) 2023-08-08 10:16:37 +02:00
J. Nick Koston 2a80a63ac2
Cleanup enphase_envoy sensor inheritance (#98012) 2023-08-08 10:10:36 +02:00
Charles Garwood 128dadafae
Add initial sensors for Enphase Encharge batteries (#97946) 2023-08-07 16:46:00 -10:00
Michael Hansen 7ea2998b55
Add wake word integration (#96380)
* Add wake component

* Add wake support to Wyoming

* Add helper function to assist_pipeline (not complete)

* Rename wake to wake_word

* Fix platform

* Use send_event and clean up

* Merge wake word into pipeline

* Add wake option to async_pipeline_from_audio_stream

* Add start/end stages to async_pipeline_from_audio_stream

* Add wake timeout

* Remove layer in wake_output

* Use VAD for wake word timeout

* Include audio metadata in wake-start

* Remove unnecessary websocket command

* wake -> wake_word

* Incorporate feedback

* Clean up wake_word tests

* Add wyoming wake word tests

* Add pipeline wake word test

* Add last processed state

* Fix tests

* Add tests for wake word

* More tests for the codebot
2023-08-07 22:22:16 -04:00
J. Nick Koston 798fb3e31a
Bump aiohomekit to 2.6.15 (#98005)
changelog: https://github.com/Jc2k/aiohomekit/compare/2.6.14...2.6.15
2023-08-08 02:30:47 +02:00
Joost Lekkerkerker 0bdae8a382
Use global constant for enphase token (#98002) 2023-08-08 00:52:54 +02:00
Aaron Bach aff369d64c
Bump `pyairvisual` to 2023.08.1 (#97999) 2023-08-07 16:23:27 -06:00
puddly 323657e6d7
Bump ZHA dependency bellows to 0.35.9 (#97976)
Bump bellows to 0.35.8
2023-08-07 18:14:47 -04:00
Jan Bouwhuis d403625e60
Alexa typing part 3 (handlers) (#97912)
handlers
2023-08-07 23:59:56 +02:00
Matthias Alphart 0f5d423d1e
Move KNX keyring validation and storage to helper module (#97931)
* Move KNX keyfile validation and store to helper module

* Rename module and fix tests
2023-08-07 23:30:14 +02:00
J. Nick Koston 987897b0fa
Add support for Yale Doorman to august (#97997) 2023-08-07 11:28:01 -10:00
Jan Bouwhuis 5657cfa052
Alexa typing part 2 (#97911)
* Alexa typing part 2

* Update homeassistant/components/alexa/intent.py

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

* Missed type hints

* precision

* Follow up comment

* value

* revert abstract class changes

* raise NotImplementedError()

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-08-07 23:26:44 +02:00
J. Nick Koston c8256d1d3d
Optimize august timings to prepare for Yale Doorman support (#97940) 2023-08-07 11:09:32 -10:00
J. Nick Koston 7080e0c280
Bump yalexs to 1.5.2 (#97991) 2023-08-07 11:00:30 -10:00
J. Nick Koston d304d42051
Restore qingping state when device becomes available (#97980) 2023-08-07 09:27:18 -10:00
J. Nick Koston 56c2276630
Restore sleepy oralb devices state at startup (#97983) 2023-08-07 09:19:46 -10:00
J. Nick Koston b7f936fcdd
Restore govee_ble state when gateway device becomes available (#97984) 2023-08-07 09:13:50 -10:00
Jan Bouwhuis 40a221c923
Alexa typing part 1 (#97909)
* Typing part 1

* mypy

* Correct typing for logbook
2023-08-07 20:36:30 +02:00
J. Nick Koston fb12c237ab
Restore xiaomi_ble state at start when device is in range or sleepy (#97979) 2023-08-07 07:58:27 -10:00
Ståle Storø Hauknes b34ce3c792
Improve airthings ble (#97905)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-08-07 07:15:51 -10:00
J. Nick Koston a234ab51fe
Restore bthome state at start when device is in range or sleepy (#97949) 2023-08-07 18:41:53 +02:00
Joost Lekkerkerker d56484e2d6
Fix docstrings in mobile app device tracker (#97963) 2023-08-07 18:41:08 +02:00
David Knowles a4721e9b36
Schlage: Set the changed by attribute on locks based on log messages (#97469) 2023-08-07 06:07:48 -10:00
lymanepp 4089bd43da
Fix tomorrowio integration for new users (#97973)
The tomorrow.io integration isn't working for new users due to changes made by tomorrow.io. This fixes that with the following changes:
* Add 60 minute timestep option
* Change default timestep to 60 minutes
2023-08-07 17:54:06 +02:00
G Johansson c4da5374ae
Refactor Trafikverket Train to improve config flow (#97929)
* Refactor tvt

* review fixes

* review comments
2023-08-07 17:25:02 +02:00
G Johansson 15eed166ec
Modernize SMHI weather (#97275)
* SMHI forecast service

* Mod weather

* reset weather

* Fix tests

* coverage

* add test
2023-08-07 17:24:43 +02:00
Erwin Douna 65365d1db5
Integration tado bump (#97791)
* Bumping to PyTado 0.16 and adding test coverage

* Removing comment

* Upgrading the deprecated functions

* Updating tests to support paramterization

* Delete test_config_flow.py

Reverting the tests, which will be placed in a different PR.

* Revert "Delete test_config_flow.py"

This reverts commit 1719ebc990.

* Reverting back changes
2023-08-07 15:59:46 +02:00
Erik Montnemery 3a0822e03b
Modernize met.no weather (#97952) 2023-08-07 14:06:16 +02:00
Erik Montnemery 683c2f8d22
Add service for getting a weather forecast (#97078)
* Add service for getting a weather forecast

* Fix translations

* Improve service description

* Improve error handling

* Adjust typing

* Adjust typing

* Adjust service response format
2023-08-07 14:05:37 +02:00
tronikos 0a2ff3a676
Android TV Remote: Fix missing key and cert when adding a device via IP address (#97953)
Fix missing key and cert
2023-08-07 14:01:35 +02:00
Charles Garwood eff7b8f81a
Update enphase_envoy codeowners (#97947) 2023-08-07 13:27:51 +02:00
G Johansson 301eaa30b1
Neato add yaml config removal issue (#97447) 2023-08-07 13:14:33 +02:00
Mick Vleeshouwer b317d36d0f
Bump pyoverkiz to 1.10.1 (#97916)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-08-07 12:32:59 +02:00
Guido Schmitz 5232b6ee6a
Bump devolo_plc_api to 1.4.0 (#97951) 2023-08-07 12:08:19 +02:00
starkillerOG d72057f41b
Add repair issue for Reolink when using it with an incompatible global ssl certificate (#91597) 2023-08-07 11:52:14 +02:00
G Johansson 001dda6345
Fix weather entities with update_before_add (#97950)
Fix weather entities update_before_add
2023-08-07 09:42:20 +02:00
J. Nick Koston 56257b7a38
Restore passive bluetooth entity data at startup (#97462) 2023-08-06 20:25:18 -10:00
J. Nick Koston 1adfa6bbeb
Reduce overhead to start a config entry flow by optimizing fetching the handler (#97883) 2023-08-06 20:25:03 -10:00
Franck Nijhof 369a484a78
Add default headers to webserver responses (#97784)
* Add default headers to webserver responses

* Set default server header

* Fix other tests
2023-08-06 23:25:13 -04:00
Franck Nijhof 3df71eca45
Ensure webhooks take HA cloud into account (#97801)
* Ensure webhooks take HA cloud into account

* Avoid circular import
2023-08-06 23:23:52 -04:00
J. Nick Koston 05e131452d
Add model/part number data enphase_envoy (#97942) 2023-08-06 16:55:34 -10:00
Joost Lekkerkerker b2d2de990d
Remove DWD code owner (#97938) 2023-08-06 12:36:19 -10:00
Alex Yao df8f1328e9
Bump yeelight to v0.7.13 (#97933)
Co-authored-by: alexyao2015 <alexyao2015@users.noreply.github.com>
2023-08-06 12:20:48 -10:00
J. Nick Koston 157f7a3079
Bump pyatv to 0.13.4 (#97932) 2023-08-06 12:20:28 -10:00
J. Nick Koston 4230465fcd
Avoid polling event characteristic in homekit_controller (#97877) 2023-08-06 11:11:03 -10:00
Marc Mueller d993aa59ea
Update orjson to 3.9.3 (#97930) 2023-08-06 22:59:44 +02:00
Luke c9edc973f0
Bump python-roborock to 0.32.2 (#97907)
* bump to 0.32.2

* fix test
2023-08-06 22:34:14 +02:00
David Knowles 50ccd68de1
Bump pyschlage to 2023.8.1 (#97927) 2023-08-06 10:20:16 -10:00
J. Nick Koston 99c3ca030d
Bump pyenphase to 0.11.0 (#97926) 2023-08-06 09:31:37 -10:00
G Johansson 4d24a3ffaa
Bump pytrafikverket to 0.3.5 (#97923) 2023-08-06 20:58:16 +02:00
J. Nick Koston ceac5f8d5a
Proactively refresh the enphase envoy token to handle cloud service downtime (#97880) 2023-08-06 08:31:45 -10:00
G Johansson a59793df4c
Bump pytrafikverket to 0.3.4 (#97921) 2023-08-06 20:01:01 +02:00
Maikel Punie 0535578440
Velbus code cleanup (#97584)
* Some cleanup and code improvements for the velbus integration

* Comments

* More comments

* Update homeassistant/components/velbus/entity.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* More comments

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-08-06 19:12:19 +02:00
G Johansson 6bc5b8989d
Fix Trafivkerket Train coordinator exceptions (#97919)
Fix tvt coordinator exceptions
2023-08-06 19:07:18 +02:00
G Johansson 163bbe2c5d
Fix Trafikverket Train departure state (#97917)
Fix tvt departure state
2023-08-06 18:50:00 +02:00
G Johansson 74d1c30f7e
Trafikverket Train sensor and attributes to new sensors (#71432)
* Initial commit

* Finalize tvt sensors

* Translations

* Fix sensor translation

* migration

* migration fix 2

* Fix name

* Fix translation

* remove translation

* Fixes

* Fix isort and mypy

* translations

* logging

* Remove logging

* departure time

* Review comments

* Mod update entity unique id

* Fix uom

* not async

* UnitOfTime

* cleanup from rebase

* Remove call self

* cleanup extra attributes

* Fix rebase again

* string state
2023-08-06 18:08:07 +02:00
String-656 56dd88db17
Replace Float 'nan' with None for modbus floats (#93832)
Co-authored-by: jan iversen <jancasacondor@gmail.com>
2023-08-06 14:26:56 +02:00
Johannes Wagner c4a5373976
Handle explicit Modbus NaN values (#90800)
Co-authored-by: jan iversen <jancasacondor@gmail.com>
2023-08-06 13:47:54 +02:00
David Knowles 0511071757
Schlage: Set the battery sensor state_class to measurement (#97879)
Set state_class to measurement
2023-08-06 10:26:16 +02:00
J. Nick Koston 91b308b4ad
Fix handling HomeKit events when the char is in error state (#97884) 2023-08-05 19:14:18 -10:00
J. Nick Koston 00e78fbf19
Cache envoy auth tokens to ensure integration works if cloud is offline (#97872) 2023-08-05 14:51:19 -10:00
David Knowles 6a65a97715
Bump pyschlage to 2023.8.0 (#97875) 2023-08-05 14:33:01 -10:00
Joost Lekkerkerker 3bed32f16e
Add entity translations for Enphase Envoy (#97876)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-08-05 14:32:35 -10:00
J. Nick Koston 02e546e3ef
Refactor enphase_envoy to use pyenphase library (#97862) 2023-08-05 13:33:16 -10:00
Ståle Storø Hauknes 34013ac3e9
Use PRECISION_TENTHS for Mill local integration (#97874) 2023-08-06 01:25:17 +02:00
J. Nick Koston a09090bf99
Do not fire homekit_controller events from IP polling (#97869)
* Fix homekit_controller triggers when value is None

* fixes

* cover
2023-08-06 00:31:50 +02:00
G Johansson 966784877f
Remove long overdue deprecated service boost_heating from Hive (#97444)
* Hive heating_boost deprecation

* Remove strings

* Remove service

* services

* Remove strings
2023-08-05 23:37:01 +02:00
elmurato 8195c9d1a7
Use constants for translation keys and rename latency time to latency (#97866)
Use constants for translation keys, rename latency time to latency and some small cleanups
2023-08-05 23:35:54 +02:00
Ernst Klamer 0caeac1a82
Add support for toothbrushes to xiaomi-ble (#97276)
* Add support for toothbrushes to xiaomi-ble

* use str for string
2023-08-05 23:13:21 +02:00
G Johansson e4d9daf746
Migrate to SensorEntityDescriptions for Trafikverket Train (#97318)
* tvt migrate to sensor entity description

* spelling

* revert spelling
2023-08-05 22:53:14 +02:00
Jan-Philipp Benecke 71a81e1f5d
Change discovergy integration type (#97391) 2023-08-05 22:47:04 +02:00
Daniel Hjelseth Høyer 41c684f36e
Use new Mill api (#97497)
* Mill, new api. Wip

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Mill, new api. Wip

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Mill, new api. Wip

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Mill, new api. Wip

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Mill, new api. Wip

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Mill, new api. Wip

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Mill, new api. Wip

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Mill, new api. Wip

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Mill, new api. Wip

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Mill, new api. Wip

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Mill, new api. Wip

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Mill, new api. Wip

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Mill, new api. Wip

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Mill, new api. Wip

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Mill, new api. Wip

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Mill, new api. Wip

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Mill, new api. Wip

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Mill, new api

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Mill, new api

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Mill, new api

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Update homeassistant/components/mill/sensor.py

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

* Update homeassistant/components/mill/sensor.py

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

* Mill, new api

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Update homeassistant/components/mill/climate.py

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

* Update homeassistant/components/mill/climate.py

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

---------

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-08-05 22:46:03 +02:00
Joost Lekkerkerker c7b7ca8769
Add yeelight class to fix superclass issue (#97649)
* Add device naming to Yeelight

* Add extra light entity to fix superclass

* Add extra light entity to fix superclass
2023-08-05 22:36:45 +02:00
Richard Kroegel 74d02a1574
BMW: Remove deprecated refresh from cloud button (#97864)
* Remove deprecated refresh from cloud button

* Clean up strings.json
2023-08-05 22:28:24 +02:00
J. Nick Koston c478a81deb
Bump bluetooth-data-tools to 1.7.0 (#97821) 2023-08-05 22:21:46 +02:00
Alberto Geniola e5261fe2a3
Implement Elmax cover platform (#79409)
* Implement Elmax cover platform.

* Reduce the number of code lines by leveraging the := operator

* Move _COMMAND_BY_MOTION_STATUS declaration at the top

* Remove redundant null-check

* Move conditional platform setup logic into the platform itself

* Remove redundant log

* Change log severity for stop request on IDLE cover state

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-08-05 22:03:51 +02:00
Jan Bouwhuis 2e8e5aabae
Refactor alexa modules to avoid circular deps (#97618)
* Refactor alexa modules to avoid circula deps

* Add test http api auth and AlexaConfig

* Update test

* Improve test
2023-08-05 21:32:53 +02:00
Andreas Lindhé 6c8971f18a
Improve code quality of CalDav (#97570)
* Use keyword arguments when constructing `WebDavCalendarData`

* Use keyword arguments when constructing `WebDavCalendarEntity`

* Remove random newlines
2023-08-05 20:44:26 +02:00
Richard Kroegel 4b6048b5e0
Bump bimmer_connected to 0.13.9, fix notify (#97860)
Bump bimmer_connected to 0.13.9

Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2023-08-05 20:08:14 +02:00
Robert Svensson e43ad1c6a0
Add restart device to UniFi button platform (#97642)
* Add restart device to UniFi Button platform

* Add tests for button platform

* Small corrections
2023-08-05 20:07:20 +02:00
MarkGodwin 76c443777d
Bump Omada API version to fix #96193 (#97848) 2023-08-05 19:59:03 +02:00
Jack Boswell 7436054352
Update starlink-grpc-tools to 1.1.2 (#97824) 2023-08-05 19:54:54 +02:00
Joost Lekkerkerker 24e4f0169c
Fix Samsung syncthru device info (#97843)
Fix Samsung device info
2023-08-05 19:43:22 +02:00
G Johansson 249fa513c9
Bump pysensibo to 1.0.33 (#97853)
* Bump pysensibo to 1.0.33

* for loop
2023-08-05 19:02:44 +02:00
Joost Lekkerkerker 03335ae1dc
Add missing translation key to Gardena Bluetooth (#97855) 2023-08-05 18:48:13 +02:00
Maikel Punie 6570517330
Add lightplatform to Duotecno (#97582)
* add light platform

* Add light to coveragerc

* Update homeassistant/components/duotecno/light.py

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

* Update homeassistant/components/duotecno/light.py

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

* Update homeassistant/components/duotecno/light.py

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

* Update homeassistant/components/duotecno/light.py

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

* Update homeassistant/components/duotecno/light.py

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

* Update homeassistant/components/duotecno/light.py

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

* comments

* revert

* re-implement comments

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-08-05 18:29:46 +02:00
G Johansson a22aa285d3
Fix Melcloud import issue (#97673)
* Fix Melcloud import issue

* remove old issue

* Simplify

* Update homeassistant/components/melcloud/strings.json

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

* Update homeassistant/components/melcloud/strings.json

* Update homeassistant/components/melcloud/strings.json

* Apply suggestions from code review

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-08-05 17:00:33 +02:00
G Johansson 2e263560ec
Fix Command Line template error when data is None (#97845)
Command Line template error
2023-08-05 16:21:39 +02:00
G-Two c5e5567912
Add device tracker to Subaru integration (#79492)
* Add device tracker to subaru integration

* Fix timestamp in device tracker

* Add test for device tracker

* Incorporate PR review comments

* Apply suggestions from code review

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Incorporate code review comments

* Add tests for bad device tracker data

* Check device tracker data is available in entity

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-08-05 15:52:20 +02:00
Maciej Bieniek d611b169ac
Don't assume that `battery_level` value is always present in Tractive `hw_info` (#97766)
Don't assume that battery_level value is always present in hw_info
2023-08-05 13:05:15 +02:00
J. Nick Koston c2023936c1
Bump aiohomekit to 2.6.13 (#97820) 2023-08-04 22:01:08 -10:00
jan iversen f0abea48a6
Fix Flexit mypy error in pymodbus (#97799) 2023-08-04 21:38:32 +02:00
Jan Bouwhuis 50da5c3fae
Fix typo in telegram_bot translations (#97793) 2023-08-04 21:35:35 +02:00
Jason Cook 32c1ffcde1
Update strings.json to correct grammer. (#97790)
Change of to off.
2023-08-04 21:23:33 +02:00
jan iversen bbc34bae87
modbus: use pb not pymodbus consistently as name. (#97780)
Use pb not pymodbus consistently as name.
2023-08-04 20:14:32 +02:00
Franck Nijhof b286da211a
Add is_admin check to check configuration API (#97788) 2023-08-04 19:25:01 +02:00
Robert Svensson 66cb407e4f
Improve counting of UniFi WLAN Clients sensor (#97785) 2023-08-04 19:22:46 +02:00
Ian Harcombe b5e23ee650
Fix metoffice visibility range sensor device class (#97763)
* Fix for issue #97694

Issue #97694 points out that the visibility range is a string with a band of distances, not a single value, which is causing issues for front end components. Removed the device class to leave as an informational string value.

* Removed *all* empty device_class statements

* Missed an empty device_class :(
2023-08-04 17:04:18 +02:00
karwosts 41eca41638
Handle Alert exception on notification failure (#93632) 2023-08-04 14:08:49 +02:00
uvjustin 9282cb21ab
Raise PlatformNotReady on initial OwnTone connection failure (#97257) 2023-08-04 12:54:54 +02:00
Joost Lekkerkerker 80d0f32237
Add has entity name to Solarlog (#97764) 2023-08-04 12:46:53 +02:00
Joost Lekkerkerker ecce601d3f
Fix WAQI being zero (#97767) 2023-08-04 12:46:23 +02:00
Robert Svensson 2820514c33
Break long strings in Axis integration (#97254) 2023-08-04 12:43:06 +02:00
Joost Lekkerkerker 0971449b94
Remove unused translation key from OpenSky (#97699) 2023-08-04 12:42:31 +02:00
Marc Mueller 447479d0a0
Add packaging as default requirement (#97712) 2023-08-04 12:29:18 +02:00
Matthieu Barthelemy 6adb06956b
Add overkiz battery sensor level medium (#97472) 2023-08-04 11:50:03 +02:00
J. Nick Koston 8719aa76ca
Avoid calling the http access logging when logging is disabled in emulated_hue (#97750) 2023-08-04 11:46:19 +02:00
Maikel Punie 95ca609124
Bump pyduotecno to 2023.8.3 (#97759) 2023-08-04 11:33:03 +02:00
Nerdix f68f9d4e01
Fix Kostal_Plenticore SELECT entities using device_info correctly (#97690) 2023-08-04 11:31:54 +02:00
Marc Mueller 99145d46d2
Fix keymitt_ble RuntimeWarning (#97729) 2023-08-04 09:34:04 +02:00
tronikos b16254a0de
Bump opower to 0.0.20 (#97752) 2023-08-04 09:32:59 +02:00
Luke df45e52dc5
Add battery sensor to Roborock (#97715)
* add battery sensor

* Remove translation for battery

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

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-08-04 09:28:48 +02:00
Cyr-ius 3ac2106eb8
Fix freebox enumerate raid disks (#97696) 2023-08-04 09:25:51 +02:00
Joost Lekkerkerker 1587ac2137
Waqi State unknown if value is string (#97617) 2023-08-04 08:45:36 +02:00
Nathan Spencer 615d7f0da7
Add ability to remove Litter-Robot if no longer provided by integration (#97702) 2023-08-03 20:30:03 -10:00
J. Nick Koston 0cc80a9d29
Add OUI to tplink diagnostics (#97646)
* Add OUI to tplink diagnostics

The main reason discovery does not work for new devices is we
are missing the OUI. Since we redact the whole mac address in
the diagnostics, this makes it difficult to fix. We now include
the OUI in the diagnostics

* fix: use cached mac

* fix: tests
2023-08-03 22:49:55 -04:00
J. Nick Koston d1f8309423
Bump zeroconf to 0.74.0 (#97745)
* Bump zeroconf to 0.74.0

changelog: https://github.com/python-zeroconf/python-zeroconf/compare/0.72.3...0.74.0

- more cython build fixes
- performance improvements (mostly for pyatv)

* handle typing

* handle typing

* remove if TYPE_CHECKING, this doesnt get called that often

* remove if TYPE_CHECKING, this doesnt get called that often
2023-08-03 22:48:53 -04:00
Marc Mueller ddb384c2ed
Fix airvisual RuntimeWarning (#97739) 2023-08-04 01:23:12 +02:00
TheJulianJES f7aec46b69
Bump zigpy to 0.56.4 (#97722) 2023-08-03 18:11:36 -04:00
Matthias Alphart fd26739bbf
Fix unloading KNX integration without sensors (#97720) 2023-08-03 23:23:12 +02:00
Michael Arthur bfa394d399
address code comments / tidy ups (#97716) 2023-08-03 23:09:14 +02:00
Paul Bottein 83af2f5b8b
Allow to sort options in select selector (#97680)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-08-03 21:49:22 +02:00
Blastoise186 d33955c467
Bump Cryptography to 41.0.3 for a second security fix (#97611)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-08-03 21:36:12 +02:00
TheJulianJES bae5a3dbd6
Fix ZHA `turn_on` issues with `transition=0`, improve tests (#97539)
* Fix turn_on ignoring transition=0 and brightness=None, add test

This fixes light.turn_on for ZHA lights ignoring a transition of 0 when no brightness is given at the same time.
It also adds a test for that case.

Fixes https://github.com/home-assistant/core/issues/93265

* Add test for "force on" lights

This test checks that "force on" lights also get an "on" command (in addition to the "move to level" command) when turn_on is called with only transition=0.

* Fix "on" command sent for transition=0 calls, fix FORCE_ON missing for transition=0

This fixes an issue where the "on" command is sent in addition to a "move_to_level_with_on_off" command, even though the latter one is enough (for non-FORCE_ON lights).
It also fixes the test to not expect the unnecessary "on" command (in addition to the expected "move_to_level_with_on_off" command).

The `brightness != 0` change is needed to fix an issue where FORCE_ON lights did not get the required "on" command (in addition to "move_to_level_with_on_off") if turn_on was called with only transition=0.
(It could have been `brightness not None`, but that would also send an "on" command if turn_on is called with brightness=0 which HA somewhat "supports". The brightness != 0 check avoids that issue.)

* Improve comments in ZHA light class
2023-08-03 15:20:40 -04:00
Joost Lekkerkerker 415e4b2243
Bump python-opensky to 0.2.0 (#97687) 2023-08-03 21:17:00 +02:00
karwosts 9e7872e78b
Fix NWS twice_daily forecast day/night detection (#97703) 2023-08-03 21:15:08 +02:00
Robert Svensson e7e68907fa
Fix UniFi image platform not loading when passphrase is missing from WLAN (#97684) 2023-08-03 21:11:15 +02:00
Marcel van der Veldt 6ed31840bc
Fix color mode attribute for both official and non official Hue lights (#97683) 2023-08-03 21:06:45 +02:00
Michael c43e6d9bd1
Fix detection of client wan-access rule in AVM Fritz!Box Tools (#97708) 2023-08-03 20:36:09 +02:00
tronikos 5e2d3b13b0
Bump opower to 0.0.19 (#97706) 2023-08-03 20:07:44 +02:00
J. Nick Koston 620525b2b4
Bump zeroconf to 0.72.3 (#97668) 2023-08-03 18:57:34 +02:00
Nick Iacullo 6f8d666b57
Enable the `PRESET_MODE` `FanEntityFeature` for VeSync air purifiers (#97657) 2023-08-03 18:30:56 +02:00
G Johansson 4c395c0124
Fix date and timestamp device class in Command Line Sensor (#97663)
* Fix date in Command Line sensor

* prettier
2023-08-03 13:59:37 +02:00
jan iversen d50b993f64
Bump pymodbus v3.4.1. (#97612)
* Bump pymodbus v3.4.1.

* Solve mypy problem.
2023-08-03 14:34:20 +03:00
J. Nick Koston 9980051c3a
Bump dbus-fast to 1.90.1 (#97619)
* Bump dbus-fast to 1.88.0

- cython 3 fixes
- performance improvements

changelog: https://github.com/Bluetooth-Devices/dbus-fast/compare/v1.87.5...v1.88.0

* one more

* Bump dbus-fast to 1.90.0

* bump again for yet another round of cython3 fixes
2023-08-03 14:33:05 +03:00
J. Nick Koston 6e5baeec70
Bump pyatv to 0.13.3 (#97670)
changelog: https://github.com/postlund/pyatv/compare/v0.13.2...v0.13.3

maybe fixes #80215
2023-08-03 14:31:49 +03:00
J. Nick Koston db5d1b10ea
Fix tplink child plug state reporting (#97658)
regressed in https://github.com/home-assistant/core/pull/96246
2023-08-03 12:35:22 +02:00
J. Nick Koston 53703448ec
Fix typo in tplink OUI (#97644)
The last two were reversed for https://ouilookup.com/search/788cb5
2023-08-03 12:20:35 +02:00
Luke 7b7b8689ef
Bump python-roborock to 0.31.1 (#97632)
bump to 0.31.1
2023-08-03 12:15:20 +02:00
Michael Arthur 05e2acb091
Add hour of free power select to Electric Kiwi (#97515)
* add select sensor to Electric Kiwi

* Update homeassistant/components/electric_kiwi/select.py

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

* simplify the HOP select since there is only one

* remove handle coordinator state

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-08-03 12:06:42 +02:00
G Johansson 564e0110a4
Revert "OctoPrint add yaml config removal issue" (#97674)
Revert "OctoPrint add yaml config removal issue (#97431)"

This reverts commit 594d98822b.
2023-08-03 11:34:20 +02:00
Marc Mueller 1daac46635
Replace deprecated pkg_resources with importlib.metadata (#97628) 2023-08-03 09:14:00 +02:00
Joost Lekkerkerker 357bfc46bf
Revert "Add device naming to Yeelight" (#97647)
Revert "Add device naming to Yeelight (#97639)"

This reverts commit 82f27115f5.
2023-08-03 09:13:23 +02:00
Marc Mueller 4196c43416
Fix deluge DeprecationWarning (#97624) 2023-08-03 09:12:08 +02:00
Marc Mueller ad0873549d
Fix ssl DeprecationWarnings (#97623) 2023-08-03 09:11:41 +02:00
Marc Mueller 3c2cebea72
Fix abode DeprecationWarnings (#97620) 2023-08-03 09:10:31 +02:00
Michael Hansen 7cf2199e8b
Bump intents to 2023.8.2 (#97636) 2023-08-02 20:01:30 -04:00
Joost Lekkerkerker 82f27115f5
Add device naming to Yeelight (#97639) 2023-08-02 23:48:37 +02:00
Marc Mueller 91a83e1ad2
Fix httpx DeprecationWarning (#97625) 2023-08-02 20:29:36 +02:00
Marc Mueller 0afa964724
Fix async_timeout DeprecationWarnings (#97622) 2023-08-02 20:29:03 +02:00
Marc Mueller 1a77121c02
Fix aiohttp code DeprecationWarnings (#97621) 2023-08-02 20:28:18 +02:00
Bram Kragten 02f8000f6c
Update frontend to 20230802.0 (#97614) 2023-08-02 14:43:42 +02:00
Bruno Enten 3ce05314e0
use write_registers also for target temp (#97475) 2023-08-02 13:36:05 +02:00
Robert Resch e4303e4534
Add rounding back when unique_id is not set (#97603) 2023-08-02 11:26:25 +02:00
Robert Resch f9ac102c27
Fix duotecno's name to be sync with the docs (#97602) 2023-08-02 09:09:13 +02:00
Michael db4c9c67a2
Do not set hass data before first coordinator refresh (#97343) 2023-08-02 08:29:00 +02:00
Jack Boswell 49b9dd2a4f
Add Starlink to .strict-typing (#97598) 2023-08-02 08:26:50 +02:00
Maikel Punie ac9ec6e402
Bump pyDuotecno to 2023.8.1 (#97583) 2023-08-02 08:23:37 +02:00
J. Nick Koston 93d7165fe9
Bump zeroconf to 0.72.0 (#97594) 2023-08-02 08:19:22 +02:00
Jack Boswell 7a92bda514
Fix Starlink Roaming name being blank (#97597) 2023-08-02 08:12:49 +02:00
Franck Nijhof af5fc7e759
Ensure load the device registry if it contains invalid configuration URLs (#97589) 2023-08-01 23:15:31 +02:00
Franck Nijhof 33e5e3c5c2
Ensure we have an valid configuration URL in NetGear (#97590) 2023-08-01 22:29:16 +02:00
TheJulianJES cad845f5c9
Bump zha-quirks to 0.0.102 (#97588) 2023-08-01 22:26:36 +02:00
Joost Lekkerkerker 7096daa0c1
Unignore today's collection for Rova (#97567) 2023-08-01 21:31:45 +02:00
Robert Svensson 6c95e07b7d
Fix UniFi image platform failing to setup on read-only account (#97580) 2023-08-01 21:18:33 +02:00
J. Nick Koston 708b00d7ab
Use legacy rules for ESPHome entity_id construction if `friendly_name` is unset (#97578) 2023-08-01 21:08:12 +02:00
Maikel Punie b20a286b5b
Bump pyduotecno to 2023.8.0 (beta fix) (#97564)
* Bump pyduotecno to 2023.7.4

* Bump to 2023.8.0
2023-08-01 14:39:31 +02:00
Bram Kragten 1773f1ead2
Update frontend to 20230801.0 (#97561) 2023-08-01 11:46:37 +02:00
Pedro Lamas 3f5c0a1285
Fixes London Air parsing error (#97557) 2023-08-01 11:04:30 +02:00
J. Nick Koston 7e134a3d44
Cleanups to the Bluetooth processor coordinators (#97546) 2023-08-01 10:27:25 +02:00
Eric Severance 8b8a51ffc8
Bump pywemo to 1.2.1 (#97550) 2023-08-01 10:08:08 +02:00
Jack Boswell 122794ada8
Fix Starlink ping drop rate reporting (#97555) 2023-08-01 10:06:19 +02:00
Michael Hansen 8ad37d7640
Send language to Wyoming STT (#97344) 2023-08-01 10:05:01 +02:00
Phil Bruckner 5aa3e36754
Bump life360 package to 6.0.0 (#97549) 2023-08-01 10:04:04 +02:00
Jan Bouwhuis 9c6c391eea
Offer work- a-round for MQTT entity names that start with the device name (#97495)
Co-authored-by: SukramJ <sukramj@icloud.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-08-01 10:03:08 +02:00
J. Nick Koston 5ce8e0e33e
Bump HAP-python to 4.7.1 (#97545) 2023-08-01 09:49:20 +02:00
tronikos 3a2549829e
Bump opower to 0.0.18 (#97548) 2023-08-01 09:45:17 +02:00
janmolemans f0640fc057
Add frequency sensors to Nibe (#89072)
* added frequency (for compressors etc)

---------

Co-authored-by: Joakim Plate <elupus@ecce.se>
2023-07-31 22:23:32 +02:00
starkillerOG 121fc7778d
Bump reolink_aio to 0.7.6 + Timeout (#97464) 2023-07-31 21:01:25 +02:00
J. Nick Koston 094f2cbad7
Fix saving subclassed datetime objects in storage (#97502) 2023-07-31 18:49:02 +02:00