mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-14 20:56:30 +00:00
parent
22c8ff1314
commit
b70ed9a60d
@ -89,8 +89,8 @@ def dbus() -> DBus:
|
||||
fixture = re.sub(r"_[0-9]+$", "", fixture)
|
||||
|
||||
# special case
|
||||
if exists_fixture(f"{fixture}_*.{filetype}"):
|
||||
fixture = f"{fixture}_*"
|
||||
if exists_fixture(f"{fixture}_~.{filetype}"):
|
||||
fixture = f"{fixture}_~"
|
||||
else:
|
||||
fixture = f"{fixture}-{command[10].split('.')[-1]}"
|
||||
filetype = "fixture"
|
||||
|
Loading…
x
Reference in New Issue
Block a user