Commit Graph

65721 Commits (ee073e9e3e8f9d151da6ebfee3b9d3e3f18ac45e)

Author SHA1 Message Date
Erik Montnemery 5c1c8dc682
Modernize tomorrowio weather (#98466)
* Modernize tomorrowio weather

* Add test snapshot

* Update snapshots

* Address review comments

* Improve test coverage
2023-08-16 20:22:38 +02:00
Erik Montnemery 827e06a5c8
Improve typing of nws (#98485)
* Improve typing of nws

* Address review comments
2023-08-16 20:21:07 +02:00
Erik Montnemery b1053e8077
Map accuweather weather condition codes once (#98509)
Map accuweather condition codes once
2023-08-16 20:20:47 +02:00
Erik Montnemery 8ed7d2dd3e
Don't create certain start.ca sensors for unlimited plans (#98525)
Don't create certain startca sensors for unlimited setups
2023-08-16 20:20:14 +02:00
Erik Montnemery 4eb0f1cf37
Make eufylife_ble sensors inherit RestoreSensor (#98528) 2023-08-16 20:15:47 +02:00
Erik Montnemery 31f5932fe4
Log events with no listeners (#98540)
* Log events with no listeners

* Unconditionally create the Event object

* Reformat code
2023-08-16 20:14:49 +02:00
Joost Lekkerkerker b9203cbeaf
Add base entity for Dexcom (#98158) 2023-08-16 19:18:46 +02:00
mkmer 3e1d2a1000
Handle missing keys in Honeywell (#98392) 2023-08-16 18:59:34 +02:00
J. Nick Koston 5bf80a0f6d
Make ESPHome deep sleep tests more robust (#98535) 2023-08-16 11:05:22 -05:00
Erik Montnemery 4180e2e477
Make EnOceanSensor a RestoreSensor (#98527)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-08-16 15:22:48 +02:00
Erik Montnemery a2e619155a
Map ipma weather condition codes once (#98512) 2023-08-16 15:01:54 +02:00
Nick Whyte 2c48f0e416
Fix ness alarm armed_home state appearing as disarmed/armed_away (#94351)
* Fix nessclient arm home appearing as arm away

* patch arming mode enum and use dynamic access

* Revert "patch arming mode enum and use dynamic access"

This reverts commit b9cca8e92bcb382abe364381a8cb1674c32d1d2a.

* Remove mock enums
2023-08-16 13:56:52 +02:00
Mike Heath 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 Garwood 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