1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Code styling tweaks to the Alexa integration (#86121)

This commit is contained in:
Franck Nijhof
2023-01-18 00:01:30 +01:00
committed by GitHub
parent b722a7e05b
commit 91aaca6471
9 changed files with 139 additions and 79 deletions

View File

@@ -412,7 +412,7 @@ async def test_report_fan_speed_state(hass):
async def test_report_humidifier_humidity_state(hass):
"""Test PercentageController, PowerLevelController reports humidifier humidity correctly."""
"""Test PercentageController, PowerLevelController humidifier humidity reporting."""
hass.states.async_set(
"humidifier.dry",
"on",
@@ -934,7 +934,10 @@ async def test_report_image_processing(hass):
@pytest.mark.parametrize("domain", ["button", "input_button"])
async def test_report_button_pressed(hass, domain):
"""Test button presses report human presence detection events to trigger routines."""
"""Test button presses report human presence detection events.
For use to trigger routines.
"""
hass.states.async_set(
f"{domain}.test_button", "now", {"friendly_name": "Test button"}
)