Commit Graph

42526 Commits (6c2702a7b84e9d8141b20e5b8f252f8fd734139e)

Author SHA1 Message Date
Erik Montnemery 6c2702a7b8
Sort manifests 11 (#87032) 2023-02-08 20:10:18 +01:00
Erik Montnemery 2246255e90
Create or import thread active dataset when setting up OTBR (#87186)
* Create a thread active dataset when discovering OTBR

* Align with lib changes

* Use thread preferred dataset if set

* Create a dataset also from the user flow
2023-02-08 19:32:19 +01:00
Erik Montnemery 94519de8dd
Upgrade SQLAlchemy to 2.0.2 (#86436)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-02-08 08:17:32 -06:00
Erik Montnemery 93dafefd96
Include entity options in RegistryEntry.as_partial_dict (#87539) 2023-02-08 08:32:46 -05:00
starkillerOG 5e214f2e43
Reolink unregistered webhook on unexpected error (#87538) 2023-02-08 12:23:27 +01:00
Franck Nijhof 7665c89b83
Remove sneaked in translation from TP-Link Omada (#87695) 2023-02-08 11:54:18 +01:00
Franck Nijhof 1c3713d08f
Add studio mode switch to Elgato (#87691) 2023-02-08 11:42:53 +01:00
Franck Nijhof 0bf612fa63
Add entity descriptions in Elgato buttons (#87656) 2023-02-08 11:09:31 +01:00
Franck Nijhof 6582367917
Add battery sensor to Elgato (#87680) 2023-02-08 10:22:12 +01:00
Luke 1bbc03d0ba
Bump oralb-ble to 0.17.5 (#87657)
fixes undefined
2023-02-07 20:01:36 -06:00
Jc2k d829a2045a
Fix incorrect unique_id for BLE HomeKit devices (#87550) 2023-02-07 19:10:51 -06:00
Thomas Hollstegge 79f385afde
Add myself as codeowner for emulated_hue (#87659) 2023-02-07 15:43:47 -06:00
Franck Nijhof cc3ae5b19b
Mark ESPHome update entity unavailable when device is offline (#87576) 2023-02-07 22:15:54 +01:00
Kevin Worrel c505975940
Use library data to map state class for ScreenLogic (#87649)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-02-07 14:13:06 -06:00
Arturo e84a11963e
Add color support to matter lights (#87366)
* Added the correct attributes to ColorTemperatureLight and ExtendedColorLight and added CurrentY to codespell ignore word list

* Added enums for matter color modes

* Added support for reading color and color temperature settings from matter api

* Added away of getting the ColorControl featureMap while the get_cluster(ColorControl) function is fixed

* Initial working implementation of color and color temperature

* Full supports for lights with both hs and xy

* Added checks to make sure color features are supported before making matter call

* Changed how color mode is figured out

* Moved the logic that gets the brightness to its own function

* Adds matter light tests for hass triggered events

* Adds full test coverage for matter all types of matter lights

* Adds full test coverage for matter all types of matter lights

* Moved light convertion logic to util.py

* Reorderd codespell ignore list and removed unused code

* Adds brightness state test
2023-02-07 20:44:02 +01:00
shbatm 096f6eb554
Bump PyISY to 3.1.13, check portal for network buttons (#87650) 2023-02-07 13:03:27 -06:00
Thomas Hollstegge 589ff54e63
Do not return cached values for entity states in emulated_hue (#87642)
* Do not return cached values for state and brightness

* Move building the uncached state dict behind a lru_cache (_build_entity_state_dict)

---------

Co-authored-by: J. Nick Koston <nick@koston.org>
2023-02-07 13:39:08 -05:00
J. Nick Koston 1170b36a82
Fix LD2410 BLE detection with passive scans (#87584) 2023-02-07 13:38:48 -05:00
epenet a202588fd2
Add return type to json_loads (#85672)
* Add JSON type definitions

* Sample use

* Keep mutable for a follo-up PR (avoid dead code)

* Use list/dict

* Remove JsonObjectType

* Remove reference to Union

* Cleanup

* Improve rest

* Rename json_dict => json_data

* Add docstring

* Add type hint to json_loads

* Add cast

* Move type alias to json helpers

* Cleanup

* Create and use json_loads_object

* Make error more explicit and add tests

* Use JsonObjectType in conversation

* Remove quotes
2023-02-07 17:21:55 +01:00
Marc Mueller b478b4fa16
Add ParamSpec TypeAliases [mypy 1.0] (#87597) 2023-02-07 15:56:26 +01:00
epenet 1b23429f41
Add __init__ return type to integrations (#87637) 2023-02-07 15:55:14 +01:00
epenet b854dd99fc
Add rest to strict-typing (#86149)
* Add type hints to rest notify

* Add rest to strict-typing
2023-02-07 15:48:16 +01:00
Marc-Olivier Arsenault fe9f6823c3
Add ecobee ventilator (#83645)
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-02-07 07:54:23 -06:00
Jan Bouwhuis 4aa61b0d64
Cleanup remains of legacy validation MQTT light (#87467) 2023-02-07 14:52:40 +01:00
J. Nick Koston 0a1d5c85ad
Optimize history.get_last_state_changes query (#87554)
fixes undefined
2023-02-07 07:50:44 -06:00
Jan Bouwhuis be564e0162
Cleanup `value_template` config parameter from MQTT basic light (#87466)
* Remove not supported case from code for MQTT light

* Remove from schema
2023-02-07 13:05:24 +01:00
Jan Bouwhuis c78cae4483
Fix handling `None` or empty value for numeric MQTT sensor (#87004)
* Allow `None` for numeric sensor, ignore empty val

* Add test case with omitting a value

* Use _numeric_state_expected property

* Only respect None if numeric state is expected
2023-02-07 11:23:23 +01:00
Maciej Bieniek 6a3619d9fa
Refactor NAM sensor platform (#87048)
* Bump backend library

* Remove AQI_LEVEL_STATE_MAPPING

* Add native_precission

* Update diagnostics fixture

* Use _attr_native_value

* Fix type

* Improve lambda

* Revert native_value property

* native_precision -> suggested_display_precision
2023-02-07 09:14:20 +01:00
Jan Bouwhuis 73e3b30906
Add `suggested_display_precision` config option for MQTT sensor (#87129)
* Add precision for MQTT sensor

* Correct tests

* Use _attr_suggested_display_precision

* Rename option and add abbreviation

* Make abbr more compact
2023-02-07 08:55:35 +01:00
J. Nick Koston 3aa744ed19
Fix indent on slow_range_in_select for MySQL/MariaDB (#87581)
We would calculate this value and throw it away
because it was only used on first_connection
2023-02-06 23:59:54 -05:00
J. Nick Koston 8757e1ced8
Bump inkbird-ble to 0.5.6 (#87590)
changelog: https://github.com/Bluetooth-Devices/inkbird-ble/compare/v0.5.5...v0.5.6

fixes #85432
2023-02-06 23:59:21 -05:00
J. Nick Koston 37e6e67542
Bump sensorpro-ble to 0.5.3 (#87591)
changelog: https://github.com/Bluetooth-Devices/sensorpro-ble/compare/v0.5.1...v0.5.3

same fix as #85432 but for sensorpro
2023-02-06 23:59:17 -05:00
J. Nick Koston a582f8181c
Bump thermopro-ble to 0.4.5 (#87592)
changelog: https://github.com/Bluetooth-Devices/thermopro-ble/compare/v0.4.3..v0.4.5

same fix as #85432 but for thermopro
2023-02-06 23:59:13 -05:00
J. Nick Koston 4c06e00ea6
Bump bluemaestro-ble to 0.2.3 (#87594)
changelog: https://github.com/Bluetooth-Devices/bluemaestro-ble/compare/v0.2.1..v0.2.3

same fix as #85432 but for bluemaestro
2023-02-06 23:59:09 -05:00
J. Nick Koston e8027ebab2
Bump sensorpush-ble to 1.5.5 (#87595)
* Bump sensorpush-ble to 1.5.4

changelog: https://github.com/Bluetooth-Devices/sensorpush-ble/compare/v1.5.2..v1.5.4

same fix as #85432 but for sensorpush

* bump again to fix parser with passive scans
2023-02-06 23:59:05 -05:00
Paulus Schoutsen 400c88a1cc
OpenAI: Ignore devices without a name (#87558)
Ignore devices without a name
2023-02-06 23:57:08 -05:00
Marc Mueller ea4e2ab4aa
Add Self typing (4) [mypy 1.0] (#87601) 2023-02-06 22:30:22 -06:00
Marc Mueller f7b39aa4a8
Add Self typing (3) [mypy 1.0] (#87600) 2023-02-06 22:30:07 -06:00
Marc Mueller 342b406dc0
Add Self typing (1) [mypy 1.0] (#87598) 2023-02-06 22:29:47 -06:00
Marc Mueller a5d376069a
Add Self typing (2) [mypy 1.0] (#87599) 2023-02-06 23:23:52 -05:00
Allen Porter 37bb1e8948
Improve rainbird device reliability by sending requests serially (#87603)
Send rainbird requests serially
2023-02-06 19:57:16 -08:00
Kevin Worrel 687d326bb4
Support local push updates for most ScreenLogic entities (#87438)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-02-06 20:13:36 -06:00
Marc Mueller 4fbb14ecc7
Update mypy to 1.0.0 (#87586) 2023-02-07 02:31:14 +01:00
Martin Hjelmare f378dcdc30
Fix matter remove config entry device (#87571) 2023-02-06 22:41:52 +01:00
Luke e53de2742c
Bump oralb-ble to 0.17.4 (#87570)
closes undefined
2023-02-06 13:28:53 -06:00
karwosts 40086cc663
Remove default:0 from duration for timer.start service (#87553)
fixes undefined
2023-02-06 19:48:27 +01:00
Mark Huson d2ec63d757
Update example data to define `in` as a dictionary (#87557) 2023-02-06 19:48:10 +01:00
Erik Montnemery e4285b0186
Comment lack of rounding in AlexaTemperatureSensor (#87561) 2023-02-06 19:37:14 +01:00
Maikel Punie 815ee58ea3
Bump velbus-aio to 2023.2.0 (#87562)
Bump valbusaio to 2023.2.0
2023-02-06 13:12:57 -05:00
Ben Corrado fee693979d
Add LD2410BLE support for new firmware version (#87507)
* Updated local_name to reflect the naming scheme in HLK firmware 2.01.23020209

* Adding generated bluetooth file.
2023-02-06 13:00:06 -05:00