Adjust history as all scripts can now be canceled (#37820)
This commit is contained in:
1 parent
36dde3ff68
commit
f8d547f2d3
2 files changed
+1
-16
No files matched your search
@@ -690,7 +690,6 @@ class TestComponentHistory(unittest.TestCase):
|
||||
therm = "thermostat.test"
|
||||
therm2 = "thermostat.test2"
|
||||
zone = "zone.home"
|
||||
script_nc = "script.cannot_cancel_this_one"
|
||||
script_c = "script.can_cancel_this_one"
|
||||
|
||||
def set_state(entity_id, state, **kwargs):
|
||||
@@ -732,7 +731,6 @@ class TestComponentHistory(unittest.TestCase):
|
||||
set_state(mp, "YouTube", attributes={"media_title": str(sentinel.mt3)})
|
||||
# This state will be skipped because domain is excluded
|
||||
set_state(zone, "zoning")
|
||||
set_state(script_nc, "off")
|
||||
states[script_c].append(
|
||||
set_state(script_c, "off", attributes={"can_cancel": True})
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user