mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Add type hints to integration tests (part 3) (#87844)
This commit is contained in:
@@ -104,7 +104,7 @@ async def test_get_triggers_hidden_auxiliary(
|
||||
assert_lists_same(triggers, expected_triggers)
|
||||
|
||||
|
||||
async def test_if_fires_on_state_change(hass, calls):
|
||||
async def test_if_fires_on_state_change(hass: HomeAssistant, calls) -> None:
|
||||
"""Test for turn_on and turn_off triggers firing."""
|
||||
hass.states.async_set("button.entity", "unknown")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user