Add missing return type in test __init__ methods (#123932)
* Add missing return type in test __init__ methods * Adjust
This commit is contained in:
parent
faacfe3f90
commit
5608301178
35 changed files with 64 additions and 47 deletions
|
@ -920,7 +920,7 @@ async def test_subscribe_entities_with_unserializable_state(
|
|||
class CannotSerializeMe:
|
||||
"""Cannot serialize this."""
|
||||
|
||||
def __init__(self):
|
||||
def __init__(self) -> None:
|
||||
"""Init cannot serialize this."""
|
||||
|
||||
hass.states.async_set("light.permitted", "off", {"color": "red"})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue