Simone Chemelli and GitHub
ab9d6ce61a
New integration for Comelit SimpleHome ( #96552 )
...
* New integration for Comelit SimpleHome
* Address first review comments
* cleanup
* aiocomelit bump and coordinator cleanup
* address review comments
* Fix some review comments
* Use config_entry.unique_id as last resort
* review comments
* Add config_flow tests
* fix pre-commit missing checks
* test_conflig_flow coverage to 100%
* fix tests
* address latest review comments
* new ruff rule
* address review comments
* simplify unique_id
2023-08-18 08:40:23 +02:00
9fdad592c2
Add option to disable MQTT Alarm Control Panel supported features ( #98363 )
...
* Make MQTT Alarm Control Panel features conditional
The MQTT Alarm Control Panel currently enables all features (arm home,
arm away, arm night, arm vacation, arm custom bypass) unconditionally.
This clutters the interface and can even be potentially dangerous, by
enabling modes that the remote alarm may not support.
Make all the features conditional, by adding a new "supported_features"
configuration option, comprising a list of the supported features as
options. Feature enablement seems inconsistent across the MQTT
component; this implementation is most alike to the Humidifier modes
option, but using a generic "supported_features" name that other
implementations may reuse in the future.
The default value of this new setting remains to be all features, which
while it may be overly expansive, is necessary to maintain backwards
compatibility.
* Apply suggestions from code review
* Use vol.Optional() instead of vol.Required() for "supported_features".
* Move the initialization of _attr_supported_features to _setup_from_config.
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com >
* Apply suggestions from emontnemery's code review
* Use vol.In() instead of cv.multi_seelct()
* Remove superfluous _attr_supported_features initializers, already
present in the base class.
Co-authored-by: Erik Montnemery <erik@montnemery.com >
* Add invalid config tests for the MQTT Alarm Control Panel
* Set expected_features to None in the invalid MQTT Alarm Control Panel tests
* Add another expected_features=None in the invalid tests
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com >
---------
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com >
Co-authored-by: Erik Montnemery <erik@montnemery.com >
2023-08-18 08:23:48 +02:00
lymanepp and GitHub
f6a9be937b
Add humidity and dew point to tomorrow.io integration ( #98496 )
...
* Add humidity and dew point to tomorrow.io integration
* Fix ruff complaints
* Make mypy happy
* Merge emontnemery's changes
* Fix formatting error
* Add fake humidity and dew point to test data (first interval only)
* Fix inconsistency
* Fix inconsistency
2023-08-18 07:41:25 +02:00
Michael Hansen and GitHub
49d2c60992
Add pipeline VAD events ( #98603 )
...
* Add stt-vad-start and stt-vad-end pipeline events
* Update tests
2023-08-17 19:58:58 -04:00
Erik Montnemery and GitHub
c17f08a3f5
Create a single entity for new met.no config entries ( #98098 )
...
* Create a single entity for new met.no config entries
* Fix lying docstring
* Fix test
2023-08-17 19:41:11 +02:00
d761b5ddbf
Add tests and typing to Tado config flow ( #98281 )
...
* Upgrading tests
* Code improvements and removing unused function
* Update homeassistant/components/tado/config_flow.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com >
* Update homeassistant/components/tado/config_flow.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com >
* Update homeassistant/components/tado/config_flow.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com >
* Update tests/components/tado/test_config_flow.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com >
* Update tests/components/tado/test_config_flow.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com >
* Update tests/components/tado/test_config_flow.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com >
* Update tests/components/tado/test_config_flow.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com >
* Update tests/components/tado/test_config_flow.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com >
* Importing Any
* Rerunning Blackformatter
* Adding fallback scenario to options flow
* Adding constants
* Adding a retry on the exceptions
* Refactoring to standard
* Update homeassistant/components/tado/config_flow.py
Co-authored-by: G Johansson <goran.johansson@shiftit.se >
* Adding type to validate_input
* Updating test
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com >
Co-authored-by: G Johansson <goran.johansson@shiftit.se >
2023-08-17 19:37:34 +02:00
Joost Lekkerkerker and GitHub
dd69ba3136
Migrate Cert Expiry to has entity name ( #98160 )
...
* Migrate Cert Expiry to has entity name
* Migrate Cert Expiry to has entity name
* Fix entity name
2023-08-17 18:29:20 +02:00
Russell Cloran and GitHub
49995a4667
Add tests for device tracker in Prometheus ( #98054 )
2023-08-17 17:58:52 +02:00
Marc Mueller and GitHub
529bc507a0
Fix aiohttp test RuntimeWarning ( #98568 )
2023-08-17 17:42:20 +02:00
Øyvind Matheson Wergeland and GitHub
cb4917f880
Fix GoGoGate2 configuration URL when remote access is disabled ( #98387 )
2023-08-17 15:12:35 +02:00
Sebastian Lövdahl and GitHub
fde498586e
Expose dew point in Met.no ( #98543 )
2023-08-17 07:45:23 +02:00
Erik Montnemery and GitHub
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 and GitHub
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
mkmer and GitHub
3e1d2a1000
Handle missing keys in Honeywell ( #98392 )
2023-08-16 18:59:34 +02:00
J. Nick Koston and GitHub
5bf80a0f6d
Make ESPHome deep sleep tests more robust ( #98535 )
2023-08-16 11:05:22 -05:00
Nick Whyte and GitHub
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
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
Erik Montnemery and GitHub
91faa53843
Don't allow hass.config.config_dir to be None ( #98442 )
2023-08-16 13:00:14 +02:00
Diogo Gomes and GitHub
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
Emma Vanbrabant and GitHub
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 and GitHub
c010b97abf
Improve test recovery MQTT certificate files ( #98223 )
...
* Improve test recovery MQTT certificate files
* Spelling
2023-08-16 09:07:14 +02:00
Erik Montnemery and GitHub
3cf86d5d1f
Create a single entity for new met_eireann config entries ( #98100 )
2023-08-15 20:56:19 +02:00
Erik Montnemery and GitHub
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
Erik Montnemery and GitHub
90413daa8a
Update buienweather data before adding entities ( #98455 )
...
* Update buienweather data before adding entities
* Fix tests
2023-08-15 18:15:23 +02:00
Marc Mueller and GitHub
063ce9159d
Use asyncio.timeout [o-s] ( #98451 )
2023-08-15 17:21:49 +02:00
starkillerOG and GitHub
92cf6ed2a0
Reolink 100% test coverage ( #94763 )
2023-08-15 09:50:17 -05:00
J. Nick Koston and GitHub
e209f3723e
Restore sensorpush state when device becomes available ( #98420 )
2023-08-15 09:29:25 -05:00
Erik Montnemery and GitHub
3de402bd15
Fix AiohttpClientMockResponse.release ( #98458 )
2023-08-15 09:22:42 -05:00
Marc Mueller and GitHub
a9ade1f84d
Use asyncio.timeout [core] ( #98447 )
2023-08-15 08:36:05 -05:00
Marc Mueller and GitHub
e2d2ec8817
Use asyncio.timeout [b-e] ( #98448 )
2023-08-15 08:30:20 -05:00
Marc Mueller and GitHub
8b0fdd6fd2
Use asyncio.timeout [s-z] ( #98452 )
2023-08-15 14:34:18 +02:00
G Johansson and GitHub
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
Erik Montnemery and GitHub
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
Erik Montnemery and GitHub
94ad4786c3
Include extended address in response to WS otbr/info ( #98440 )
2023-08-15 09:48:29 +02:00
Erik Montnemery and GitHub
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 and GitHub
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 and GitHub
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
Paulus Schoutsen and GitHub
ced4af1e22
Ignore smartthings storage on fresh install ( #98418 )
...
* Ignore smartthings storage on fresh install
* Also unload existing things when going for clean install
* Rename param
* Fix tests
2023-08-14 21:39:05 -05:00
Álvaro Fernández Rojas and GitHub
c3c00e6984
Update aioairzone to v0.6.6 ( #98399 )
2023-08-14 11:21:12 -05:00
Joakim Plate and GitHub
d6fcdeac06
Avoid leaking backtrace on connection lost in arcam ( #98277 )
...
* Avoid leaking backtrace on connection lost
* Correct ruff error after rebase
2023-08-14 18:03:17 +02:00
Franck Nijhof and GitHub
85c2216cd7
Ensure headers middleware handles errors too ( #98397 )
2023-08-14 17:48:11 +02:00
Joost Lekkerkerker and GitHub
77b421887b
Add entity translations for August ( #98077 )
2023-08-14 16:58:57 +02:00
Erik Montnemery and GitHub
d4753ebd3b
Include border agent ID in thread router discovery ( #98378 )
2023-08-14 16:46:55 +02:00
Erik Montnemery and GitHub
1869177f08
Rename some incorrectly named assist_pipeline tests ( #98389 )
2023-08-14 15:47:55 +02:00
Erik Montnemery and GitHub
e0fd83daab
Store preferred border agent ID for each thread dataset ( #98384 )
2023-08-14 15:47:18 +02:00
b0f68f1ef3
Use @require_admin decorator ( #98061 )
...
Co-authored-by: Robert Resch <robert@resch.dev >
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com >
2023-08-14 15:07:20 +02:00
G Johansson and GitHub
a093c383c3
Remove Verisure default lock code ( #94676 )
2023-08-14 13:43:08 +02:00
Erik Montnemery and GitHub
318b8adbed
Set preferred router when importing OTBR dataset ( #98379 )
2023-08-14 13:40:32 +02:00
Allen Porter and GitHub
9ddf11f6cd
Improve rainbird error handling ( #98239 )
2023-08-14 13:32:08 +02:00
Martin Hjelmare and GitHub
6f97270cd2
Fix tts notify config validation ( #98381 )
...
* Add test
* Require either entity_id or tts_service
2023-08-14 13:30:25 +02:00