mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 13:45:12 +02:00
Remove unneeded TYPE_CHECKING guard in core async_set (#116311)
This commit is contained in:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user