Commit Graph
65709 Commits
Author SHA1 Message Date
Mike HeathandErik Montnemery cf8c9ad184 Add PoE switch tests (#95087)
* Add PoE switch tests

* Update tests/components/tplink_omada/test_switch.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Remove files covered by tests from exclusion

* Rename entity_name to entity_id

* Fix test, use snapshot, other improvements

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-08-16 13:38:53 +02:00
Joost Lekkerkerker 732dac6f05 Create abstraction for Generic YeeLight (#97939)
* Create abstraction for Generic YeeLight

* Update light.py
2023-08-16 13:24:41 +02:00
Erik Montnemery 91faa53843 Don't allow hass.config.config_dir to be None (#98442) 2023-08-16 13:00:14 +02:00
VidFerris 5ed3e90607 Use Local Timezone for Withings Integration (#98137) 2023-08-16 12:57:16 +02:00
Diogo Gomes abf065ed76 Fix checks for duplicated config entries in IPMA (#98319)
* fix unique_id

* old unique id detection

* update tests

* match entry not unique_id

* address review
2023-08-16 12:56:47 +02:00
J. Nick Koston ed2f067c52 Bump zeroconf to 0.80.0 (#98416) 2023-08-16 12:03:40 +02:00
Erik Montnemery 636cb6279d Push updated ecobee weather forecast to listeners (#98511) 2023-08-16 11:59:59 +02:00
Erik Montnemery e69090b943 Map meteo_france weather condition codes once (#98513) 2023-08-16 11:41:11 +02:00
Marc Mueller 0bcc02e908 Skip writing pyc files [ci] (#98423) 2023-08-16 11:36:52 +02:00
J. Nick Koston b083f5bf89 Add some typing to doorbird (#98483) 2023-08-16 11:33:25 +02:00
J. Nick Koston b680bca5e9 Bump aiohomekit to 2.6.16 (#98490) 2023-08-16 11:30:47 +02:00
tronikos a0ea6e6a0c Bump opower to 0.0.29 (#98503) 2023-08-16 11:10:02 +02:00
Andy Barratt 6c573953e3 Update Light flash description (#98252)
* Update Light flash description

`light.turn_on` service description for the `flash` option gave the impression of a boolean value being required when in fact a string of either `short` or `long` was required.  Updated this to match the documentation found at https://www.home-assistant.io/integrations/light

`light.turn_off` also described the existence of a `flash` option when none exists.  I've removed this, which matches the aforementioned documentation too.

* Revert removal of flash from turn-off

As discussed in feedback, turn-off does indeed seem to support flash.
2023-08-16 10:06:37 +02:00
Emma Vanbrabant 8efb9dad7e Add device_class to Renault charging remaining time (#98393)
* Add device_class on charging remaining time

Set `device_class to `duration` on the `charging_remaining_time` entity in the Renault integration.

I had some issues showing this property on my dashboard, and setting this fixed it. The recommendation to open an issue against the original integration in these kinds of cases came from [here](https://community.home-assistant.io/t/how-to-format-a-card-to-show-hours-instead-of-seconds/425473/7).

* Update test const to add duration

* fix other cars

* Update test_sensor.ambr

* add duration in ambr
2023-08-16 09:42:38 +02:00
Jan Bouwhuis c010b97abf Improve test recovery MQTT certificate files (#98223)
* Improve test recovery MQTT certificate files

* Spelling
2023-08-16 09:07:14 +02:00
dalinicus 45966069b4 Bump aiolyric to 1.1.0 (#98113)
version bump aiolyric to include new features for additional room sensors
2023-08-16 08:15:28 +02:00
J. Nick Koston c671b1069e Bump protobuf to 4.24.0 (#98468) 2023-08-15 18:52:18 -05:00
Erik Montnemery 3cf86d5d1f Create a single entity for new met_eireann config entries (#98100) 2023-08-15 20:56:19 +02:00
Erik Montnemery caeb20f9c9 Modernize aemet weather (#97969)
* Modernize aemet weather

* Improve test coverage

* Only create a single entity for new config entries
2023-08-15 20:55:16 +02:00
J. Nick Koston 857369625a Remove some bound attributes from enphase_envoy sensor (#98479) 2023-08-15 13:29:22 -05:00
J. Nick Koston 80d608bb5b Remove some bound attributes from enphase_envoy binary_sensor (#98477)
Some of these were never used
2023-08-15 14:16:05 -04:00
J. Nick Koston 73f882bf36 Small cleanups to enphase_envoy select platform (#98476) 2023-08-15 13:08:55 -05:00
Charles GarwoodandJ. Nick Koston 92535277be Add number platform & battery setpoint entities to Enphase integration (#98427)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-08-15 13:08:11 -05:00
J. Nick Koston 5a69f9ed04 Remove unused code in enphase_envoy (#98474) 2023-08-15 12:37:16 -05:00
Erik Montnemery 90413daa8a Update buienweather data before adding entities (#98455)
* Update buienweather data before adding entities

* Fix tests
2023-08-15 18:15:23 +02:00
Sam Reed ffe3d7c255 Replace "percents" -> "percentage" in flux_led option flow (#98059) 2023-08-15 10:44:24 -05:00
Marc Mueller 063ce9159d Use asyncio.timeout [o-s] (#98451) 2023-08-15 17:21:49 +02:00
Erik Montnemery 496a975c58 Set _attr_condition in WeatherEntity (#98459) 2023-08-15 17:17:35 +02:00
starkillerOG 92cf6ed2a0 Reolink 100% test coverage (#94763) 2023-08-15 09:50:17 -05:00
J. Nick Koston e209f3723e Restore sensorpush state when device becomes available (#98420) 2023-08-15 09:29:25 -05:00
Erik Montnemery 3de402bd15 Fix AiohttpClientMockResponse.release (#98458) 2023-08-15 09:22:42 -05:00
Marc Mueller 5dd3f05db8 Use asyncio.timeout [f-h] (#98449) 2023-08-15 08:37:06 -05:00
Marc Mueller a9ade1f84d Use asyncio.timeout [core] (#98447) 2023-08-15 08:36:05 -05:00
Marc Mueller e2d2ec8817 Use asyncio.timeout [b-e] (#98448) 2023-08-15 08:30:20 -05:00
Charles Garwood 346a7292d7 Update Enphase dry contact relay DeviceInfo and name (#98429)
Switch relay binary_sensor to relay device
2023-08-15 08:49:19 -04:00
Marc Mueller 8b0fdd6fd2 Use asyncio.timeout [s-z] (#98452) 2023-08-15 14:34:18 +02:00
Marc Mueller 71d985e4d6 Use asyncio.timeout [i-n] (#98450) 2023-08-15 14:32:15 +02:00
Erik Montnemery 35b914af97 Disable polling in buienradar weather entity (#98443) 2023-08-15 13:28:43 +02:00
Franck Nijhof a87878f723 Make image upload mimetype to match frontend (#98411) 2023-08-15 12:26:37 +02:00
G Johansson ed18c6a013 Refactor Rest Switch with ManualTriggerEntity (#97403)
* Refactor Rest Switch with ManualTriggerEntity

* Fix test

* Fix 2

* review comments

* remove async_added_to_hass

* update on startup
2023-08-15 11:43:47 +02:00
Nathan Spencer 87b7fc6c61 Bump pylitterbot to 2023.4.4 (#98414) 2023-08-15 11:04:45 +02:00
Erik Montnemery 3b9d6f2dde Add setup function to the component loader (#98148)
* Add setup function to the component loader

* Update test

* Setup the loader in safe mode and in check_config script
2023-08-15 10:59:42 +02:00
starkillerOG b1e5b3be34 Bump Reolink_aio to 0.7.7 (#98425) 2023-08-15 10:43:19 +02:00
J. Nick Koston 262483f3f6 Replace async_timeout with asyncio.timeout A-B (#98415) 2023-08-15 10:29:28 +02:00
Chris Talkington eb4745012a Update rokuecp to 0.18.1 (#98432) 2023-08-15 10:02:38 +02:00
Chris Talkington 2da3b7177d Update pyipp to 0.14.3 (#98434) 2023-08-15 09:57:10 +02:00
Erik Montnemery 94ad4786c3 Include extended address in response to WS otbr/info (#98440) 2023-08-15 09:48:29 +02:00
Erik Montnemery e6ea70fd00 Adjust thread router discovery typing (#98439)
* Adjust thread router discovery typing

* Adjust debug logs
2023-08-15 09:40:05 +02:00
Erik Montnemery 71b92265af Include border agent id in response to WS otbr/info (#98394)
* Include border agent id in response to WS otbr/info

* Assert border agent ID is not None
2023-08-15 09:17:47 +02:00
Erik Montnemery 6c7f50b5b2 Simplify error handling in otbr async_setup_entry (#98395)
* Simplify error handling in otbr async_setup_entry

* Create issue if the OTBR does not support border agent ID

* Update test

* Improve test coverage

* Catch the right exception
2023-08-15 08:27:50 +02:00