Commit graph

63107 commits

Author SHA1 Message Date
dependabot[bot]
4d3db038d6
Bump actions/checkout from 3.5.2 to 3.5.3 ()
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.2 to 3.5.3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.5.2...v3.5.3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-12 10:42:40 +02:00
Erik Montnemery
f17773233b
Add check for integration config schema to hassfest ()
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-06-12 10:26:02 +02:00
Sander
c79b9d0b07
Fix: Xiaomi Miio Fan, delay off countdown unit conversion () 2023-06-12 08:25:09 +02:00
Jan Bouwhuis
3adea14ddb
Use TemplateSelector on imap custom imap_content event template config option ()
Use TemplateSelector for imap custom template
2023-06-12 06:30:23 +02:00
Glenn Waters
acaa9ef9de
Bump elkm1-lib to 2.2.5 ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-06-11 15:25:01 -10:00
Erik Montnemery
0fd28c91a8
Remove overridden entity_id property from WirelessTagSensor () 2023-06-11 17:29:53 -04:00
Sebastian Muszynski
2d62735b0d
Fix deprecated asyncio.wait use with coroutines () 2023-06-11 20:01:41 +02:00
Christopher Bailey
fd43687833
Bump unifiprotect to 4.10.3 ()
* Bump unifiprotect to 4.10.3

* Reqs
2023-06-11 10:22:12 -04:00
Tom Harris
3eedbe92ad
Fix issue with Insteon linked devices maintaining current state ()
* Bump pyinsteon

* Update tests
2023-06-11 10:21:33 -04:00
Jan Bouwhuis
3cf2c81baa
Fix dep noaa-coops for noaa_tides ()
Bump noaa-coops to 0.1.9
2023-06-11 10:21:06 -04:00
Jan-Philipp Benecke
7d0f5733c2
Improve the code quality of the Discovergy integration ()
* Remove option flow, refactor and improve the code quality after review in PR 

* Remove coordinator.py from coverage report

* Some minor improvements for unit tests

* Remove _LOGGER

* Use pytest.fixture and some more improvments

* Add back empty __init__

* Fix docstring

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-06-11 12:51:43 +02:00
Joost Lekkerkerker
a8dd2d520a
Abort youtube configuration if user has no channel ()
* Abort configuration if user has no channel

* Clean up

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-06-11 12:30:38 +02:00
J. Nick Koston
9e666ae0c0
Reduce in progress flow matching overhead ()
* Reduce config flow matching overhead

Much of the config flow matching is happening on the context data
after converting via a series of functions. Avoid the conversions
by passing the context matcher deeper into the stack so only
relvant entries need to be processed.

The goal is to reduce the overhead and reduce the chance
the event loop falls behind at the started event when
all the discoveries are processed

* Reduce config flow matching overhead

Much of the config flow matching is happening on the context data
after converting via a series of functions. Avoid the conversions
by passing the context matcher deeper into the stack so only
relvant entries need to be processed.

The goal is to reduce the overhead and reduce the chance
the event loop falls behind at the started event when
all the discoveries are processed

* Reduce config flow matching overhead

Much of the config flow matching is happening on the context data
after converting via a series of functions. Avoid the conversions
by passing the context matcher deeper into the stack so only
relvant entries need to be processed.

The goal is to reduce the overhead and reduce the chance
the event loop falls behind at the started event when
all the discoveries are processed

* augment cover
2023-06-11 10:41:38 +02:00
Raman Gupta
41d8ba3397
Re-add event listeners after Z-Wave server disconnection ()
* Re-add event listeners after Z-Wave server disconnection

* switch order

* Add tests
2023-06-11 08:35:52 +02:00
Luke
eab024992e
Add Cleaning area sensors to Roborock ()
add clean area sensor
2023-06-10 20:31:34 -04:00
Marc Mueller
3b08d5f0c3
Improve renson typing () 2023-06-10 20:28:32 -04:00
Matthias Alphart
b45659eb84
Update knx-frontend to 2023.6.9.195839 () 2023-06-10 20:48:14 +02:00
J. Nick Koston
aa71c8e8f0
Reduce I/O from cert_expiry () 2023-06-10 12:53:09 -05:00
Matthias Alphart
ece5de73a4
Update xknxproject to 3.1.1 () 2023-06-10 10:41:51 +02:00
jimmyd-be
3d678f5b99
Renson integration ()
* Implemented Renson integration

* -  renamed component to a better name
- Made cleaner code by splitting up files into different one
-  Fixed issues regarding getting data from library
- Added service.yaml file

* Added Renson services

* cleanup translations

* added config_flow tests

* changed config_flow, removed all services

* use SensorEntityDescription + introduced new binarySensor

* fixed config_flow test

* renamed renson_endura_delta to renson

* refactored sensors and implemented binary_sensor

* Changed some sensors to non measurement and added entity_registery_enabled_default for config sensors

* Enabled binary_sensor

* changed import to new renamed module

* Merge files into correct files + cleaned some code

* Change use of EntityDescription

* Update codeowners

* Fixed lint issues

* Fix sensor

* Create test.yml

* Update test.yml

* add github action tests

* Format json files

* Remove deprecated code

* Update homeassistant/components/renson/binary_sensor.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

* Use Coordinqte in Sensor

* Migrated binary sensor to use coordinate

* Removed firmwareSensor

* Add entity_catogory to binary_sensor

* Add services

* Revert "Add services"

This reverts commit 028760d8d8.

* update requirements of Renson integration

* Add services and fan

* Fixed some issue + fixed PR comments

* Cleanup code

* Go back 2 years ago to the bare minimum for PR approval

* Refactored code and added a lot of device classes to the entities

* Fix some bugs

* Add unique Id and some device class

* Show the level value for CURRENT_LEVEL_FIELD instead of the raw data

* Remove FILTER_PRESET_FIELD for now

* Make the _attr_unique_id unique

* Changed Renson tests

* Moved Renson hass data into @dataclass

* Changed test + added files to .coveragerc

* Add device_class=SensorDeviceClass.Duration

* Fix syntax

---------

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-06-10 09:21:33 +02:00
Jafar Atili
26b78d2a7a
fix: electrasmart - cast temperature to int in set_temperature ()
fix: cast temperature to int
2023-06-09 21:54:11 +03:00
starkillerOG
117ab4a0e5
Bump reolink-aio to 0.6.0 () 2023-06-09 17:00:07 +02:00
J. Nick Koston
fc1eab1e7e
Bump sensirion-ble to 0.1.0 () 2023-06-09 09:40:54 -05:00
Erik Montnemery
59f5b8f2d6
Remove unneeded checks for Entity.platform ()
* Remove unneeded checks for Entity.platform

* Update tests

* Prevent breaking integrations without an EntityComponent

* Warn when entity has no platform
2023-06-09 15:17:41 +02:00
Erik Montnemery
239e2d9820
Migrate microsoft_face to EntityComponent () 2023-06-09 13:15:35 +02:00
Jan Bouwhuis
c984604a6c
Refactor some mqtt tests not the just use schema validation ()
Remove help_test_validate_platform_config
2023-06-09 12:30:26 +02:00
Jan Bouwhuis
5fb41777fd
Cleanup MQTT schema from previous removed options ()
* Cleanup removed validator schema option of 

* Cleanup removed climate options and abbreviations

* Removed white_value options for mqtt light

* Remove whaite value from mqtt json light
2023-06-09 12:12:20 +02:00
Erik Montnemery
e25fbecfdc
Add missing super() call to EnergyCostSensor.add_to_platform_abort () 2023-06-09 11:28:12 +02:00
Erik Montnemery
4085c4f6d8
Tweak typing of Entity.platform ()
* Tweak typing of Entity.platform

* Fix mypy errors

* Fix update test

* Improve comments
2023-06-09 10:56:04 +02:00
Erik Montnemery
41022fdce4
Add comments about removing deprecated code from sky_connect config flow () 2023-06-09 10:39:52 +02:00
Erik Montnemery
5e3b632b14
Drop call to usb.get_serial_by_id from zwave_js config flow () 2023-06-09 10:04:01 +02:00
Jonathan Keljo
288708474b
Upgrade sisyphus-control to 3.1.3 () 2023-06-09 09:39:14 +02:00
Sven Serlier
7e75790281
Update URL in readme () 2023-06-09 09:24:53 +02:00
Luke
dafc7a15b1
Bump Python-Roborock to 23.6 for crash fix ()
* bump to 23.5

* update to 23.5
2023-06-08 18:18:42 -07:00
Franck Nijhof
c3936e6f14
Replace isort with ruff () 2023-06-08 23:43:56 +02:00
Joost Lekkerkerker
ed3d38bb17
Request steam online friends from batches ()
* Request friends from batches

* Add tests

* Add tests

* Fix feedback

* Add libcall to verify request length

* Improve tests
2023-06-08 17:08:14 -04:00
Erik Montnemery
23d15850da
Use addon name as title in otbr hassio flow ()
* Use addon name as title in otbr hassio flow

* Address review comments
2023-06-08 23:04:12 +02:00
Joost Lekkerkerker
b3a001996d
Improve coverage for LastFM ()
* Improve coverage for LastFM

* Improve tests

* Improve tests
2023-06-08 16:55:16 -04:00
Ville Skyttä
ca936d0b38
Replace bandit with ruff () 2023-06-08 22:46:04 +02:00
Ville Skyttä
f7938c940c
Upgrade ruff to 0.0.272 () 2023-06-08 21:53:43 +02:00
Erik Montnemery
bdc82fa50a
Drop call to usb.get_serial_by_id from modem_callerid config flow () 2023-06-08 19:21:31 +02:00
Erik Montnemery
0dbdfb7e70
Drop call to usb.get_serial_by_id from velbus config flow () 2023-06-08 19:21:19 +02:00
Erik Montnemery
35ad40421b
Drop call to usb.get_serial_by_id from zha config flow () 2023-06-08 19:21:08 +02:00
Tom Harris
fceef42b08
Fix Insteon startup for users with X10 devices () 2023-06-08 18:36:42 +02:00
Erik Montnemery
c8756ba5bb
Use stable USB device path in USB discovery () 2023-06-08 18:27:04 +02:00
Franck Nijhof
6db1fbf480
Fix repair issue about no yaml for config entries () 2023-06-08 18:22:34 +02:00
Paulus Schoutsen
76535d3f7d
Fix default value when logger used () 2023-06-08 12:00:34 -04:00
hookedonunix
18cbc9b4c3
Add Water Heater platform to MQTT integration ()
* Add Water Heater entity to MQTT

* Adding tests for Water Heater

* Remove duplicate line and unneeded var declaration

* Remove target temp range and away mode

* Move common Temperature Control conf to const

* Remove unnecessary platform schema and temp check

* Add common value template key test

* Use MqttTemperatureControl in Water Heater

* Move operation mode out of MqttTemperatureControl

* Remove unecessary attribute declaration

* Remove default min/max temp and auto init attr

* Fix mqtt water heater initial temp conversion

* Make async_set_temperature common

* Fix init temp comment

* Merge value_template_keys into get_with_templates

* Remove unnecessary operation_mode overriding

* Add async_set_temperature to water heater

* Fix docstring comments
2023-06-08 17:38:30 +02:00
Christopher Bailey
c697731657
Bump unifiprotect to 4.10.2 () 2023-06-08 11:08:52 -04:00
Franck Nijhof
395236f6cc
Merge branch 'master' into dev 2023-06-08 16:32:52 +02:00