Commit Graph

58782 Commits (8a58d1d321b4d60e8113e12a82dd91290a3bd8c9)

Author SHA1 Message Date
epenet 8a58d1d321
Improve type hints in Xiaomi Miio (#87167)
Imrpove type hints in Xiaomi Miio
2023-02-02 16:32:12 -05:00
epenet 62482f3500
Improve typing in script integration (#87076) 2023-02-02 16:31:46 -05:00
epenet ea3395d576
Improve typing in plaato (#87074) 2023-02-02 16:31:24 -05:00
epenet 275438adf3
Improve typing in ping binary sensor (#87073) 2023-02-02 16:31:09 -05:00
epenet 22c295fbdc
Improve typing in ihc util (#87069) 2023-02-02 16:30:32 -05:00
epenet a79be493e5
Adjust hass_client type hint in integration tests (#86954)
* Adjust hass_client type hint in integration tests

* Adjust hass_client_no_auth

* Fix rebase
2023-02-02 16:29:57 -05:00
GrahamJB1 8bff95014c
Add modbus min/max values (#86131)
* modbus min/max values
Co-authored-by: jan iversen <jancasacondor@gmail.com>
2023-02-02 22:29:03 +01:00
Franck Nijhof 9f9873b39a
Add ability to generate development translations for all integrations (#87197) 2023-02-02 16:27:51 -05:00
epenet 98198d3c1f
Improve type hints in template (#87172) 2023-02-02 16:26:03 -05:00
epenet 9327947332
Improve type hints in onvif (#87184) 2023-02-02 16:25:43 -05:00
Bram Kragten 843e3ca9e6
Update frontend to 20230202.0 (#87208) 2023-02-02 16:11:01 -05:00
Michael 5d8bd0e2e5
Bump py-synologydsm-api to 2.1.1 (#87211)
bump py-synologydsm-api to 2.1.1
2023-02-02 16:10:51 -05:00
starkillerOG f439a94a0d
Reolink unsubscribe webhook when first refresh fails (#87147)
* catch ValueError on webhook async_register

* add ONVIF to webhook_id

* Unsubscribe webhook when ConfigEntryNotReady for async_config_entry_first_refresh

* Revert catching ValueError
2023-02-02 15:21:41 -05:00
Franck Nijhof f9d7d65f3a
Use template selector for prompt template in OpenAI (#87205)
* Use template selector for prompt template in OpenAI

* Fix tests

* Do not parse template result
2023-02-02 15:20:10 -05:00
J. Nick Koston 22698b1cc5
Fix statistics graphs not loading with data_rate, electric_current, voltage, information, and unitless units (#87202)
* Add missing converts to recorder/statistics_during_period API

This was resulting in the stats graphs not loading on the frontend

* its in two places
2023-02-02 14:52:55 -05:00
Franck Nijhof 3e087ac88c
Adjust IoT Class of Reolink to local push (#87206) 2023-02-02 14:33:17 -05:00
shbatm 439232223a
Support ISY994 Z-Wave motorized blinds as cover (#87102) 2023-02-02 14:27:30 -05:00
Jan Bouwhuis d8bba6747e
Address late review on readability sensor code (#87111)
* Improve readability _numeric_state_expected

* Update homeassistant/components/sensor/__init__.py
2023-02-02 20:22:33 +01:00
epenet 5df16d761c
Cleanup coordinator in motion blinds (#87185) 2023-02-02 19:23:51 +01:00
J. Nick Koston 389fc515a1
Prevent overly large attributes from being stored in the database (#87105) 2023-02-02 11:49:33 -06:00
Franck Nijhof 5e81d28116
Update black to 23.1.0 (#87188) 2023-02-02 18:35:24 +01:00
Paul Bottein f7666239ff
Add author metadata for blueprints (#87070) 2023-02-02 11:00:26 -05:00
Marc Mueller 07a3046d11
Update pylint to 2.16.0 (#87083) 2023-02-02 12:49:01 +01:00
epenet bd6a4d10ea
Use try_parse_enum in integrations (#87085) 2023-02-02 12:34:01 +01:00
Dmitry Vlasov 4a38b622b2
Update zwave-me-ws version to 0.3.1 (#87145) 2023-02-02 12:02:29 +01:00
starkillerOG d017214d8b
Bump reolink-aio to 0.3.2 (#87121) 2023-02-02 11:24:06 +01:00
epenet 7643f98d20
Fix invalid state class in renault (#87135) 2023-02-02 10:38:21 +01:00
Dmitry Vlasov 41b9994218
Add missing supported features to Z-Wave.Me siren (#87141) 2023-02-02 10:36:38 +01:00
epenet 58596d205c
Ensure sensor and recorder converters align (#87138) 2023-02-02 10:36:03 +01:00
epenet cc469ab9a9
Add unit conversion to Power sensors (#87136)
* Add missing PowerConverter to UNIT_CONVERTERS

* Adjust tests
2023-02-02 10:27:12 +01:00
epenet 6806e85eab
Add missing converters to recorder statistics (#87137) 2023-02-02 09:44:26 +01:00
J. Nick Koston 1fd58b6cb7
Fix a few cartesian products in recorder tests (#87106)
Fixes
```
recorder/test_init.py:251: SAWarning: SELECT statement has a cartesian product between FROM element(s) "states" and FROM element "state_attributes".  Apply join condition(s) between each element to resolve.
```
2023-02-02 07:47:09 +01:00
starkillerOG 29d6ae8d0c
Bump reolink_aio to 0.3.1 (#87118) 2023-02-02 04:56:18 +01:00
GitHub Action 0f80932709 [ci skip] Translation update 2023-02-02 00:25:01 +00:00
Jan Bouwhuis 2e16b7e2df
Add numeric_state_expected property to Sensor class (#87013)
* Add is_numeric property to Sensor class

* Follw up comment

* Update homeassistant/components/sensor/__init__.py

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

* Update homeassistant/components/sensor/__init__.py

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

* Tests and corrections

* Simplify converion check

* Correct custom device class handling

* Update homeassistant/components/sensor/__init__.py

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

* rename to numeric_state_expected

* Replace with new const

* Adjust docstr

* Update homeassistant/components/sensor/__init__.py

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

* Move to const

* Correct logic

* Do not use bool

* Adjust docstr must be numeric

* remote state from docstr

* protect numeric_state_expected

* Use try_parse_enum for custom class check

* Remove redundant type hints

---------

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-02-01 18:45:13 +01:00
J. Nick Koston fb55933b0a
Reduce chance of queue overflow during schema migration (#87090)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-02-01 18:34:40 +01:00
Bram Kragten 0a524833e3
Update frontend to 20230201.0 (#87099) 2023-02-01 18:06:12 +01:00
Daniel Hjelseth Høyer 54900ca25f
Update pyTibber to 0.26.12 (#87098) 2023-02-01 18:04:24 +01:00
Paulus Schoutsen f32f46aff5
Fix Assist skipping entities that are hidden or have entity category (#87096)
Skipping entities that are hidden or have entity category
2023-02-01 10:48:04 -06:00
Poltorak Serguei 97fac1dde8
Improve Z-Wave.Me integration description (#87088)
Z-Wave.Me integration Description improved
2023-02-01 16:50:53 +01:00
Michael 2f51059b7f
Proper handling of authentication errors in AVM Fritz!Tools (#79434) 2023-02-01 16:03:18 +01:00
epenet afa55156d6
Improve typing in nest legacy platforms (#87071) 2023-02-01 06:57:53 -08:00
mkmer 2412f7d266
Bump AIOAladdinConnect to 0.1.55 (#87086) 2023-02-01 15:57:21 +01:00
epenet 1225c5e97d
Add enum util (#87082)
* Add enum helper

* docstring

* Move to util

* Add use case
2023-02-01 15:00:27 +01:00
epenet 8efd01b2e8
Type fixes for alexa entities (#87077)
* Type fixes for alexa entities

* Adjust get_type
2023-02-01 14:07:32 +01:00
epenet 10bfebed19
Improve typing in plex services (#87078) 2023-02-01 13:24:07 +01:00
epenet 5005ba0b4a
Improve typing in philips_js coordinator (#87075) 2023-02-01 12:15:58 +01:00
epenet 2b4796b9ac
Improve typing in unifi services (#87072) 2023-02-01 11:45:04 +01:00
Paulus Schoutsen ad87c4557d
Guard what version we can install ESPHome updates with (#87059)
* Guard what version we can install ESPHome updates with

* Update homeassistant/components/esphome/dashboard.py
2023-01-31 23:15:23 -05:00
Paulus Schoutsen 8417f22904
Trigger update of ESPHome update entity when static info updates (#87058)
Trigger update of update entity when static info updates
2023-01-31 22:13:41 -05:00