Commit Graph

41983 Commits (4be7b626075ff83eb43a2f67dc3ada58fc4d0195)

Author SHA1 Message Date
Franck Nijhof c5dedb7a79
Code styling tweaks to the recorder integration (#86030) 2023-01-16 19:51:11 +01:00
Shay Levy 5b2c1d701a
Bump aiowebostv to 0.3.2 (#86031)
fixes undefined
2023-01-16 19:51:00 +01:00
shbatm b229347625
Fix entity cleanup and naming bugs in ISY994 (#86023) 2023-01-16 19:43:42 +01:00
Franck Nijhof 6a89b3a135
Small refactor to HomeWizard config flow (#86020)
* Small refactor to HomeWizard config flow

* Update homeassistant/components/homewizard/config_flow.py

Co-authored-by: Duco Sebel <74970928+DCSBL@users.noreply.github.com>

* Process review comments

Co-authored-by: Duco Sebel <74970928+DCSBL@users.noreply.github.com>
2023-01-16 17:03:00 +01:00
epenet 9205020fa4
Avoid import homeassistant.const as a module (#85991) 2023-01-16 16:49:49 +01:00
TheJulianJES 9f0bed0f0c
Implement "group members assume state" option for ZHA (#84938)
* Initial "group members assume state" implementation for ZHA

* Remove left-over debug flag (where polling was disabled)

* Implement _send_member_assume_state_event() method and also use after turn_off

* Only assume updated arguments from service call to group

* Make code more readable and change checks slightly

* Move "send member assume state" events to LightGroup on/off calls

* Include new config option in tests

* Check that member is available before updating to assumed state

* Lower "update group from child delay" for debouncer to basically 0 when using assumed member state

* Allow "child to group" updates regardless of config option

This is not needed, as group members will not update their state, as long as they're transitioning. (If a group transitions, it also sets its members to transitioning mode)

This fixes multiple issues. Previously, the state of a group was completely wrong when:
- turn on group with 10 second transition
- turn on members individually
- turn off members individually
- group state would not update correctly

* Move "default update group from child delay" constant

* Change to new constant name in test

* Also update fan test to new constant name

* Decrease "update group from child delay" to 10ms

In my testing, 0.0 also works without any issues and correctly de-bounces child updates when using the "assume state option".
This is just for avoiding multiple state changes when changing the group -> children issue individual updates.
With 2 children in a group and delay 0, both child updates only cause one group re-calculation and state change.

0.01 (10ms) should be plenty for very slow systems to de-bounce the update (and in the worst case, it'll cause just another state change but nothing breaks)

* Also implement "assuming state" for effect

Not sure if anybody even uses this, but this one is a bit special because the effect is always deactivated if it's not provided in the light.turn_on call.

* Move shortened delay for "assuming members" to a constant

* Add basic test to verify that group members assume on/off state

* Move _assume_group_state function declaration out of async_added_to_hass

* Fix rare edge-case when rapidly toggling lights and light groups at the same time

This prevents an issue where either the group transition would unset the transition flag or the single light would unset the group transition status midst-transition.

Note: When a new individual transition is started, we want to unset the group flag, as we actually cancel that transition.

* Check that effect list exists, add return type

* Re-trigger CI due to timeout

* Increase ASSUME_UPDATE_GROUP_FROM_CHILD_DELAY slightly

The debouncer is used when updating group member states either by assuming them (in which case we want to barely have any delay), or between the time we get the results back from polling (where we want a slightly longer time).
As it's not easily possible to distinguish if a group member was updated via assuming the state of the group or by the polling that follows, 50 ms seems to be a good middle point.

* Add debug print for when updating group state

* Fix issues with "off brightness" when switching between group/members

This fixes a bunch of issues with "off brightness" and passes it down to the members correctly.
For example, if a light group is turned off with a transition (so bulbs get their level set to 1), this will also set the "off brightness" of all individual bulbs to the last level that they were at.

(It really fixes a lot of issues when using the "member assume group state" option. It's not really possible to fix them without that.)

Furthermore, issues where polling was previously needed to get the correct state after "playing with transitions", should now get be resolved and get correct state when using the "members assume group state" option.

Note: The only case which still can't be fixed is the following:
If individual lights have off_with_transition set, but not the group, and the group is then turned on without a level, individual lights might fall back to brightness level 1 (<- at least now shows correctly in UI even before polling).
Since all lights might need different brightness levels to be turned on, we can't use one group call. But making individual calls when turning on a ZHA group would cause a lot of traffic and thereby be counter-productive.
In this case, light.turn_on should just be called with a level (or individual calls to the lights should be made).

Another thing that was changed is to reset off_with_transition/off_brightness for a LightGroup when a member is turned on (even if the LightGroup wasn't turned on using its turn_on method).
off_with_transition/off_brightness for individual bulbs is now also turned off when a light is detected to be on during polling.

Lastly, the waiting for polled attributes could previously cause "invalid state" to be set (so mid-transition levels).
This could happen when group and members are repeatedly toggled at similar times. These "invalid states" could cause wrong "off brightness" levels if transitions are also used.
To fix this, we check after waiting for the polled attributes in async_get_state to see if a transition has started in the meanwhile. If so, the values can be discarded. A new poll will happen later and if using the "members assume group state" config option, the values should already be correct before the polling.

* Enable "group members assume state" config option by default

The config tests are also updated to expect the config option be enabled by default.

For all tests, the config option is generally disabled though:
There are only two group related tests. The one that tests this new feature overrides the config option to be enabled anyway.
The other tests works in a similar way but also "sends" attribute reports, so we want to disable the feature for that test.
(It would also run with it enabled (if the correct CHILD_UPDATE value is patched), but then it would test the same stuff as the other test, hence we're disabling the config option for that test.)
2023-01-16 10:48:18 -05:00
Paul Bottein c3e27f6812
Add tier summation delivered for Lixee Zlinky TIC (#82602)
* Add tier summation delivered for zlinky

* Improve name case

* Add other tiers and register tier

* Fix smartenergy sensor update

* Account for new reporting configuration in unit tests

* Use cluster ID attributes instead of hardcoding the values

* Use tier names instead of the numeric constants for formatter

* Revert active register tier delivered

* Fix tests

Co-authored-by: puddly <32534428+puddly@users.noreply.github.com>
2023-01-16 10:33:18 -05:00
epenet 83591704b5
Adjust sensor validation warning (#86017) 2023-01-16 15:48:00 +01:00
Franck Nijhof 0a367359f4
Add sensor state class validation for device classes (#84402)
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-01-16 14:31:24 +01:00
Jussi Rosenberg 54d570a9cf
Bump pykoplenti to 1.0.0 (#83251)
* Update Kostal integration to use maintained lib

* Update Kostal integration to use pykoplenti

* Update kostal_plenticore tests for new lib

* Fix tests config_flow & diagnostics after changes
2023-01-16 12:54:29 +01:00
Franck Nijhof c26d620ab1
Clean up unused import steps from HomeWizard config flow (#86002) 2023-01-16 12:24:23 +01:00
Shay Levy dd18708b63
Remove WebOS TV client wrapper (#86001) 2023-01-16 12:03:57 +01:00
Franck Nijhof 2b037efee2
Cleanup of HomeWizard button platform (#85999) 2023-01-16 11:57:08 +01:00
Franck Nijhof 11a81dc485
Improve typing of HomeWizard sensors (#85997)
* Improve typing of HomeWizard sensors

* Fix typo when tried to fix a typo :)
2023-01-16 11:22:46 +01:00
Erik Montnemery f9662e0af0
Make the kitchen_sink integration set up a config entry (#85680)
* Make the kitchen_sink integration set up a config entry

* Update homeassistant/components/kitchen_sink/config_flow.py

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

* Add singleton check in import step + add test

* Fix tests

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-01-16 11:03:44 +01:00
epenet 3179101fbc
Warn if numeric sensors have an invalid value (#85863)
Co-authored-by: mib1185 <mail@mib85.de>
2023-01-16 11:00:07 +01:00
Duco Sebel ccd8bc14e0
Add sensors for new P1 datapoints in HomeWizard (#85198)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
fixes undefined
2023-01-16 09:59:07 +01:00
Erik Montnemery affea9a305
Remove sky connect config entry if USB stick is not plugged in (#85765)
* Remove sky connect config entry if USB stick is not plugged in

* Tweak cleanup

* Give some stuff more cromulent names

* Do the needful

* Add tests

* Tweak
2023-01-16 09:25:06 +01:00
Franck Nijhof fa0d653216
Update python-homewizard-energy to 1.5.0 (#85966)
* Update python-homewizard-energy to 1.5.0

* Remove strict typing for now

* Revert "Remove strict typing for now"

This reverts commit ebcd327fdf.

* Adjust typing to resolve upstream changes
2023-01-16 09:23:03 +01:00
Jorie Teunissen 719f2e650c
Add state_class to mill Estimated CO2 sensor (#85894) 2023-01-16 09:02:15 +01:00
J. Nick Koston 233332c3a0
Fix fetching history include_start_time_state when timezone is not UTC (#85983) 2023-01-16 09:01:32 +01:00
Patrick ZAJDA 0b02abf708
Add locking and unlocking to MQTT lock (#85779)
* Implement locking, unlocking and jammed on MQTT lock

Signed-off-by: Patrick ZAJDA <patrick@zajda.fr>

* Add tests

Signed-off-by: Patrick ZAJDA <patrick@zajda.fr>

* Refactor condition

Signed-off-by: Patrick ZAJDA <patrick@zajda.fr>

* Parametrize tests

Signed-off-by: Patrick ZAJDA <patrick@zajda.fr>

* Manage only locking and unlocking

Signed-off-by: Patrick ZAJDA <patrick@zajda.fr>

* Remove jammed from abbreviations

Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>

* set valid states in self._valid_states

Signed-off-by: Patrick ZAJDA <patrick@zajda.fr>

Signed-off-by: Patrick ZAJDA <patrick@zajda.fr>
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
2023-01-16 08:42:43 +01:00
Jesse Hills d3c41bc31c
Add friendly name support for ESPHome (#85976)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-01-15 21:33:44 -10:00
Jack Boswell 8c235357a4
Add Starlink reboot button (#85729) 2023-01-15 21:22:19 -10:00
shbatm 176eb01016
Deprecate ISY994 custom cleanup entities service (#85931) 2023-01-15 21:14:41 -10:00
shbatm dfc33f858a
Support availability for ISY994 devices (#85928) 2023-01-15 19:18:51 -10:00
GitHub Action b81453cb6b [ci skip] Translation update 2023-01-16 00:24:22 +00:00
Michael a7ebec4d02
Make Synology DSM integration fully async (#85904) 2023-01-15 13:19:08 -10:00
J. Nick Koston 65ca62c991
Ensure remote bluetooth adapters are loaded before integrations that need them (#85723) 2023-01-15 13:17:17 -10:00
shbatm cd31624768
Bump PyISY to 3.1.6 (#85974)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-01-15 13:02:30 -10:00
jan iversen 05c1aff0f6
Bump pymodbus library to V3.1.0 (#85961)
fixes undefined
2023-01-15 23:30:26 +01:00
Duco Sebel 8e5236528f
Upgrade HomeWizard to platinum quality (#82580) 2023-01-15 23:00:20 +01:00
Shay Levy 28804b7ecc
Update webOS TV codeowners (#85959) 2023-01-15 20:14:36 +02:00
Franck Nijhof 91ac6400b9
Clean up legacy import from HomeWizard (#85960) 2023-01-15 20:14:19 +02:00
Shay Levy 03d9d30eca
Cleanup webOS TV YAML import leftovers (#85957) 2023-01-15 20:07:15 +02:00
Duco Sebel 209c47383d
Implement state error handling in HomeWizard (#84991)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-01-15 17:30:27 +01:00
mkmer 1a0bce715a
Address invalid keys in translation for whirlpool (#85849) 2023-01-15 17:09:14 +01:00
ondras12345 cef1809536
Fix apcupsd spamming logs when host is unavailable (#85920)
fixes undefined
2023-01-15 14:45:05 +01:00
Michael b20eb54800
Replace deprecated unit converter utils (#85927) 2023-01-15 14:41:59 +01:00
Paulus Schoutsen d92b423127
Add conversation to default config (#85877)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-01-15 13:21:16 +01:00
Dermot Duffy 10829fdadb
Allow empty motionEye passwords (#85407) 2023-01-15 13:20:25 +01:00
starkillerOG 476de319ea
Bump reolink-aio to 0.2.3 (#85871) 2023-01-15 13:07:15 +01:00
Shay Levy 508b93c17f
Fix webOS TV SSDP discovery missing friendly name (#85917) 2023-01-15 12:29:11 +01:00
Shay Levy 64ee0cf627
Bump aiowebostv to 0.3.1 to fix support for older devices (#85916)
Bump aiowebostv to 0.3.1
2023-01-15 12:26:28 +01:00
Jan Stienstra ef4b7c8a22
Skip over files without mime type in Jellyfin (#85874)
* Skip over files without mime type

* Skip over tracks without mime type
2023-01-15 12:12:27 +01:00
Matthias Lohr 3ae4e98204
Bump tololib to v0.1.0b4 (#85866)
updated tololib to v0.1.0b4
2023-01-15 04:38:51 +01:00
shbatm a81045653d
Add Insteon ramp rate select entities to ISY994 (#85895)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-01-14 17:37:07 -10:00
Allen Porter a653ea30bd
Bump google-nest-sdm to 2.2.2 (#85899)
* Bump google-nest-sdm to 2.2.0

* Bump nest to 2.2.1

* Bump google-nest-sdm to 2.2.2
2023-01-15 04:30:21 +01:00
Robert Hillis 3627a98602
Add dhcp discovery to D-Link (#85661)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-01-14 15:58:04 -10:00
GitHub Action 77f9548e51 [ci skip] Translation update 2023-01-15 00:25:52 +00:00
shbatm 913bc827ba
Bump PyISY to 3.1.5 and fix bad Z-Wave properties from eisy (#85900) 2023-01-14 12:28:57 -10:00
Austin Mroczek c478e503e5
Bump total_connect_client to 2023.1 (#85882)
bump total_connect_client to 2023.1
2023-01-14 20:15:13 +02:00
Shay Levy 6938f791f9
Downgrade MQTT logging (#85867) 2023-01-14 13:28:41 +01:00
J. Nick Koston 43fb68ed79
Avoid linear searches for excluded events (#85851)
If the there are a lot of excluded events for the recorder, it
can have a performance impact as the list has to be searched
every time an event fires in HA
2023-01-14 14:25:03 +02:00
shbatm 1fcd25130f
Add On Level number entities to ISY994 Insteon Devices (#85798)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-01-13 16:01:41 -10:00
starkillerOG 5f67e79ad9
Bump reolink-aio to 0.2.2 (#85848) 2023-01-14 02:25:22 +01:00
Martin Hjelmare bca462401c
Bump python-matter-server to 1.1.0 (#85840) 2023-01-14 02:20:10 +01:00
GitHub Action dffc913f9e [ci skip] Translation update 2023-01-14 00:22:57 +00:00
J. Nick Koston ec61f5f998
Bump aiohomekit to 2.4.4 (#85853)
fixes https://github.com/home-assistant/core/issues/85400
fixes https://github.com/home-assistant/core/issues/84023
2023-01-13 14:03:16 -10:00
Shay Levy 9b5ac5b173
Fix WebOS TV image fetch SSL verify failure (#85841) 2023-01-13 23:50:02 +02:00
Robert Svensson be899b6ab6
Store Axis device with entry_id key rather than unique_id (#85673)
* Store Axis device with entry_id key rather than unique_id

* Fix review comments
2023-01-13 22:21:40 +01:00
Guido Schmitz c191daedc3
Remove dead code path in devolo Home Network (#85790)
Remove dead code path
2023-01-13 21:15:50 +01:00
Luke 67716edb0c
Update oralb to show battery percentage (#85800)
Co-authored-by: J. Nick Koston <nick@koston.org>
fixes undefined
2023-01-13 10:11:01 -10:00
Kevin Worrel 21cdb6ece3
Bump screenlogicpy to 0.6.3 (#85799)
Co-authored-by: J. Nick Koston <nick@koston.org>
fixes undefined
2023-01-13 09:58:23 -10:00
starkillerOG b2b6ae417d
Reolink check for admin (#85570)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
fixes undefined
2023-01-13 20:07:09 +01:00
shbatm d35c4f8d82
Deprecate YAML configuration for ISY994 (#85797) 2023-01-13 08:48:44 -10:00
shbatm 8dadbe45fa
Bump PyISY to 3.1.4 to fix dependency issues (#85825) 2023-01-13 18:33:21 +01:00
Ville Skyttä a5a079fb06
Huawei LTE sensor improvements (#84019)
* Use `None` for unknown states consistently

* Use huawei_lte_api NetworkModeEnum instead of magic strings

* Recognize some new sensor items

* Exclude current day duration sensor

* Fix current month upload/download types

* Add current day transfer

* Extract lambdas used in multiple spots to named functions

* Formatter naming consistency improvements
2023-01-13 18:27:57 +01:00
Robert Svensson 7953c4a6d5
Clean up old config migration of Axis config (#85671)
* Revert Axis config flow version to 1

* Set up using hass.config_entries.async_setup

* Fix review comment

* Update homeassistant/components/axis/__init__.py

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-01-13 17:12:51 +01:00
Maciej Bieniek 6baa905448
Abort config flow if Airly measuring station does not exist (#85652)
* Abort if there is no sensor in the area

* Add test

* Increase test coverage
2023-01-13 14:35:52 +01:00
Mike Degatano 87aacf9fbe
Increase max line size for ingress addons (#85775) 2023-01-13 13:30:28 +01:00
Eugenio Panadero d748894b88
Remove 'tariff' edition from options-flow (#85703)
* 🎨 Add missing typing for config-flow

* 🐛 Remove 'tariff' edition from options-flow

The `entry.data["tariff"]` is what makes the `entry.unique_id`,
so it's an incoherence to be able to change it in the Options flow

* 🌐 Update generated EN translation

* 🎨 Link translations of option-flow to those of config-flow
2023-01-13 13:27:11 +01:00
Ville Skyttä ae302bbec0
Make use of str.removeprefix and .removesuffix (#85584) 2023-01-13 12:19:38 +01:00
epenet e75c85f679
Downgrade integrations without code owner (#85752) 2023-01-13 10:08:15 +01:00
Ville Skyttä 4c31317c06
Key Huawei LTE routers in hass.data by config entry rather than unique id (#85788)
Key routers in hass.data by config entry rather than unique id

There's no particular reason to key them by the unique id; the config
entry id is a stronger, always available guarantee, and a much more
common convention across the HA codebase.

At some point, we might conceivably support devices we can't find a
proper unique id for; this would work for that purpose as well.
2023-01-13 09:20:24 +01:00
epenet 1deb4c68f3
Adjust diagnostics return types (#85525)
* Adjust diagnostics return types

* Replace dict with Mapping
2023-01-13 09:17:54 +01:00
Malte Franken 9927bb3330
Bump georss_ign_sismologia_client to 0.6 (#85784)
bump georss_ign_sismologia_client to 0.6
2023-01-13 08:58:28 +01:00
tronikos 8e26c048a7
Remove oauth2client dependency in Google Assistant SDK (#85785)
Remove import oauth2client, inline 2 constants
2023-01-13 00:20:16 +01:00
shbatm 28bea53afe
Move ISY994 data to dataclass and remove bad entities (#85744) 2023-01-12 13:09:04 -10:00
J. Nick Koston f941864308
Bump pySwitchbot to 0.36.4 (#85777) 2023-01-12 23:17:00 +01:00
Franck Nijhof 2ca73be9d0
Update sentry-sdk to 1.13.0 (#85772) 2023-01-12 23:04:49 +01:00
Franck Nijhof 9415e7e51b
Address small review comments in ESPHome (#85770) 2023-01-12 22:55:18 +01:00
Jovan Gerodetti 49031b8fa7
Implement sync time button for moehlenhoff_alpha2 (#85676)
* Implement sync time button for moehlenhoff_alpha2

* fix outdated doc comment

Co-authored-by: j-a-n <oss@janschneider.net>

* address review comments

Co-authored-by: j-a-n <oss@janschneider.net>
2023-01-12 22:09:14 +01:00
Teju Nareddy cb04a52220
Fix IoT Class for Torque integration (#85667)
* Fix IoT Class for Torque plugin

This is currently misclassified:
- There is no "Torque" server, the Torque plugin is the server that receives data directly from the client. It should be `local` instead of `cloud`.
- The client sends data to the server as needed. This plugin will NOT poll for data. It should be `push` instead of `poll`.

* Run hassfest

Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-01-12 21:52:39 +01:00
Yuval Aboulafia 578a1cdc02
Add statistics support to iperf3 (#85771) 2023-01-12 12:02:56 -08:00
Yuval Aboulafia 1f6efe8c3e
Remove WAQI unsupported UOM (#85768)
fixes undefined
2023-01-12 20:10:45 +01:00
Aaron Bach 107461df0d
Follow-up on ReCollect Waste calendar entity (#85766) 2023-01-12 11:56:06 -07:00
Kevin Worrel 4f20b15742
Bump screenlogicpy to 0.6.2 (#85725)
fixes undefined
2023-01-12 19:41:07 +01:00
Shay Levy 596f779254
Bump aiowebostv to 0.3.0 (#85756) 2023-01-12 19:11:27 +01:00
epenet e18117fd63
Bump sfrbox-api to 0.0.4 (#85742)
* Bump sfrbox-api to 0.0.3

* Bump sfrbox-api to 0.0.4
2023-01-12 18:17:31 +02:00
epenet b5a9e682be
Add missing enum item in SFR Box (#85746)
* Add missing enum item in SFR Box

* Adjust tests
2023-01-12 18:15:09 +02:00
Maciej Bieniek cc016c9bba
Pass language to the Airly API (#85655)
* Pass language to the API

* Pass only pl or en

* Add comment
2023-01-12 16:15:00 +01:00
Erik Montnemery 8418a30cc0
Refactor energy validation issue reporting (#85523)
* Refactor energy validation issue reporting

* Update English translations

* Adjust translations
2023-01-12 12:50:43 +01:00
Osma Ahvenlampi 45a41421b6
Change Ruuvi movement counter to correct state class (#85677)
change Ruuvi movement counter to correct class

The counter's values are 0 to 255 increasing value, so the correct state class as per https://developers.home-assistant.io/docs/core/entity/sensor/#entities-representing-a-total-amount is TOTAL_INCREASING.
2023-01-12 10:29:54 +01:00
epenet 5a4df9d870
Add binary sensor platform to SFR Box (#85508)
* Add binary sensor platform to SFR Box

* Simplify
2023-01-12 10:06:09 +01:00
Jan Bouwhuis 64e235285d
Deprecate power_command_topic for MQTT climate (#85229)
* Deprecate mode_command_topic for MQTT climate

* Correct deprecation and remove support release inf

* Do not use future tense for comment

* Extend deprecation period to 6 months
2023-01-12 09:49:14 +01:00
Erik Montnemery a7fb3c82fb
Add WS command number/device_class_convertible_units (#85598)
* Add WS command number/device_class_convertible_units

* Add websocket_api

* Update tests
2023-01-12 09:34:10 +01:00
Erik Montnemery 305fb86d50
Add WS command sensor/device_class_convertible_units (#85213)
* Add WS command sensor/device_class_units

* Rename new command to device_class_convertible_units
2023-01-12 09:31:06 +01:00
epenet 679e971131
Add system diagnostic sensors to SFR Box (#85184)
* Add system diagnostic sensor

* Add tests
2023-01-12 09:29:12 +01:00
Erik Montnemery b0d4b73874
Add unitless unit converter (#85694)
* Add unitless unit converter

* Adjust type hints

* Adjust tests

* Rename to UnitlessRatioConverter
2023-01-12 09:20:00 +01:00
Maciej Bieniek a176de6d4b
Add RPC smoke binary sensor to Shelly integration (#85697)
* Add RPS smoke binary sensor

* Remove index

* Remove the unnecessary attribute
2023-01-12 08:42:40 +01:00
Shay Levy b71d332a10
Cleanup Shelly sensor description (#85732) 2023-01-11 21:39:49 -10:00
Ville Skyttä c625051665
Improve Huawei LTE SSDP inclusion (#85572)
* Probe Huawei LTE API for device support on SSDP match

More or less as expected, the loosening of SSDP/UPnP data matches done
in #81643 started to yield false positives, as in #85402.

Coming up with robust matches solely based on the SSDP/UPnP data still
does not seem possible, so keep the matches as loose as they were made,
but additionally invoke a probe request on the API to determine if the
device looks like a supported one.

* Probe only after unique id checks

Prevents throwaway probes for discoveries already in progress.

* Fix SSDP result URL test, add missing assert on it
2023-01-12 06:47:38 +01:00
shbatm 255a8362a1
Consolidate device info and clean-up ISY994 code base (#85657)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-01-11 18:07:44 -10:00
Jack Boswell 43cc8a1ebf
Add binary_sensor to Starlink (#85409)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-01-11 17:18:54 -10:00
Robert Hillis ae9a57b2a8
Remove oauth2client dependency in Google Sheets (#85637)
Remove oauth2client dependency
2023-01-12 04:02:02 +01:00
Nathan Spencer 0ae855d345
Fix Litter-Robot 4 firmware versions reported while updating (#85710) 2023-01-12 03:53:06 +01:00
Robert Hillis b14c141fe3
Address review comments for D-Link config flow (#85712)
* Address review comments for D-Link config flow

* uno mas

* uno mas

* uno mas
2023-01-12 03:46:51 +01:00
Eugenio Panadero 05590f63c9
Clean attributes in pvpc hourly pricing ElecPriceSensor (#85688)
♻️ Remove unnecessary private attrs and fix typing for sensor entity
2023-01-12 03:21:16 +01:00
Daniel Hjelseth Høyer 2757f97114
Update pyTibber to 0.26.8 (#85702)
* Tibber, update pyTibber

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

* Tibber, update pyTibber

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

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2023-01-12 03:15:28 +01:00
Klaas Schoute 6f92c5381d
Add Energie VanOns virtual integration (#85704) 2023-01-12 01:14:36 +01:00
Eugenio Panadero 77feaecbfa
Remove unreachable config entry migration in pvpc hourly pricing (#85700)
* 🔥 Remove old config entry migration logic

introduced for a breaking change in 2021-06, now unreachable after
completely disabling the YAML config for the integration

*  Remove test for old config entry migration logic

and adjust existent one for config-flow to do not lose coverage
2023-01-12 01:07:11 +01:00
Jovan Gerodetti 3ee73f0fea
Bump moehlenhoff-alpha2 to 1.3.0 (#85720)
bump moehlenhoff_alpha2 to v1.3.0
2023-01-12 00:52:32 +01:00
Milan Meulemans e603645b90
Upgrade aionanoleaf to 0.2.1 (#83669) 2023-01-12 00:43:04 +01:00
Felix T 42a4dd98f1
Use fallback advertising interval for non-connectable Bluetooth devices (#85701)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-01-11 12:11:25 -10:00
Paulus Schoutsen c8cd41b5d4
Add ESPHome update entities (#85717) 2023-01-11 16:26:13 -05:00
Paulus Schoutsen 06bc9c7b22
Automatically fetch the encryption key from the ESPHome dashboard (#85709)
* Automatically fetch the encryption key from the ESPHome dashboard

* Also use encryption key during reauth

* Typo

* Clean up tests
2023-01-11 15:28:31 -05:00
epenet a2f6299fc1
Remove invalid device class in energyzero (#85690)
* Remove invalid device class in energyzero

* Adjust tests
2023-01-11 20:49:14 +01:00
Ernst Klamer a575dfb5c3
Bump bthome-ble to 2.5.0 (#85670)
Bump bthome-ble
2023-01-11 19:30:39 +02:00
Ville Skyttä ccd7f09de6
Upgrade huawei-lte-api to 1.6.11 (#85669) 2023-01-11 17:44:55 +01:00
mkmer f9dcb2ea84
Bump whirlpool-sixth-sense to 0.18.2 (#85679) 2023-01-11 14:54:41 +01:00
Eugenio Panadero 2286029b5d
Bump `aiopvpc` to 4.0.1 (#85612)
* 📦️ Bump aiopvpc version

* ♻️ Evolve DataUpdateCoordinator and PVPC sensor for new aiopvpc

setting `SensorDeviceClass.MONETARY` for the price sensor

* 🍱 tests: Update tests fixtures with new sensor data

for aiopvpc v4 with 'esios_public' as data-source

*  tests: Adapt test suite for new default data-source

* 📦️ Bump aiopvpc version for latest patch 4.0.1

* ️ Revert changes unrelated to library bump

* ️ Revert tests changes unrelated to library bump
2023-01-11 14:49:42 +01:00
Paulus Schoutsen 82ec769ec5
Handle ESPHome dashboard discovery (#85662) 2023-01-11 08:30:52 -05:00
Jan Bouwhuis 1a4cac95a1
Revert "Bump steamodd to 4.23" (#85651) 2023-01-11 13:13:19 +01:00
Erik Montnemery 0200327fa8
Make the kitchen_sink integration trigger statistics issues (#79742)
* Make the kitchen_sink integration trigger statistics issues

* Remove dead code
2023-01-11 08:14:11 +01:00
GitHub Action 941f82b60c [ci skip] Translation update 2023-01-11 00:23:37 +00:00
Robert Hillis 3d7c61bbed
Add D-Link config flow (#84927) 2023-01-10 14:10:56 -10:00
rikroe 1afb30344a
Add diagnostics to bmw_connected_drive (#74871)
* Add diagnostics to bmw_connected_drive

* Add tests for diagnostics

* Move get_fingerprints to library, bump bimmer_connected to 0.10.4

* Update bimmer_connected to 0.11.0

* Fix pytest

* Mock actual diagnostics HTTP calls

* Update tests for bimmer_connected 0.12.0

* Don't raise errors if vehicle is not found

Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2023-01-11 01:09:45 +01:00
Matthias Alphart db428f2141
Update xknx to 2.3.0 - add some DPTs, Routing security (#85658)
Update xknx to 2.3.0
2023-01-11 00:24:56 +01:00
shbatm 856895ddf5
Remove old migrate unique ID code from ISY994 (#85641)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-01-10 12:42:31 -10:00
shbatm d3249432c9
Add ISY994 variables as number entities (#85511)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-01-10 12:29:11 -10:00
Ernst Klamer 7af23698bc
Bump bluemaestro-ble to 0.2.1 (#85648) 2023-01-10 11:40:18 -10:00
epenet 6e3cf896f7
Remove invalid device class in gios (#85611) 2023-01-10 22:08:13 +01:00
Eugenio Panadero caa8fc4d10
Remove deprecated YAML manual config for PVPC Hourly Pricing (#85614) 2023-01-10 20:49:54 +01:00
Paul Bottein 67b238c8d1
Update frontend to 20230110.0 (#85640) 2023-01-10 14:28:12 -05:00
Erik Montnemery 85ba8a6cde
Bump hatasmota to 0.6.3 (#85633) 2023-01-10 20:48:06 +02:00
tronikos 667fde997d
Google Assistant SDK: Fix broadcast command in Japanese (#85636)
Fix broadcast command in Japanese
2023-01-10 20:20:28 +02:00
epenet de2588f6e0
Add diagnostics platform to SFR Box (#85500) 2023-01-10 20:17:14 +02:00
Allen Porter 02357193ad
Bump gcal-sync to 4.1.2 (#85631) 2023-01-10 20:15:55 +02:00
Bouwe Westerdijk 4889373819
Bump plugwise to v0.27.1 (#85630) 2023-01-10 19:47:48 +02:00
mkmer d01a62fec5
Bump AIOAladdinConnect to 0.1.52 (#85632) 2023-01-10 19:44:57 +02:00
epenet a7647fee28
Fix unknown data in homematicip_cloud (#85618) 2023-01-10 12:26:49 -05:00
Erik Montnemery 7621c450c7
Add kitchen_sink integration (#85592) 2023-01-10 17:31:47 +01:00
epenet 67f8d82818
Remove invalid state class in deconz (#85615) 2023-01-10 17:28:35 +01:00
epenet 2ae986d45b
Remove invalid state class in tado (#85624) 2023-01-10 16:55:34 +01:00
epenet 4eddd8b75a
Remove invalid unit of measurement in mfi (#85620) 2023-01-10 16:45:59 +01:00
epenet 298d7504fd
Fix unknown data in qwikswitch (#85621) 2023-01-10 16:42:28 +01:00
epenet d313d82eb7
Fix unknown data in influxdb (#85619) 2023-01-10 16:41:16 +01:00
epenet 65750fec9b
Remove invalid state class in hue (#85617) 2023-01-10 16:37:35 +01:00
epenet 4d660f926d
Fix unknown data in google wifi (#85616) 2023-01-10 16:37:04 +01:00