mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Remove unneeded TYPE_CHECKING guard in core async_set (#116311)
This commit is contained in:
parent
43dc5415de
commit
5d59b4cddd
@ -2267,8 +2267,6 @@ class StateMachine:
|
|||||||
return
|
return
|
||||||
|
|
||||||
if context is None:
|
if context is None:
|
||||||
if TYPE_CHECKING:
|
|
||||||
assert timestamp is not None
|
|
||||||
context = Context(id=ulid_at_time(timestamp))
|
context = Context(id=ulid_at_time(timestamp))
|
||||||
|
|
||||||
if same_attr:
|
if same_attr:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user