mirror of
https://github.com/tomaae/homeassistant-mikrotik_router.git
synced 2025-08-30 06:29:39 +02:00
reformatted using black
This commit is contained in:
parent
8f89051be6
commit
70cdb93eb3
8 changed files with 319 additions and 222 deletions
|
@ -266,8 +266,7 @@ def fill_vals_proc(data, uid, vals_proc) -> dict:
|
|||
|
||||
if _action == "combine":
|
||||
if "key" in val:
|
||||
tmp = _data[val["key"]]\
|
||||
if val["key"] in _data else "unknown"
|
||||
tmp = _data[val["key"]] if val["key"] in _data else "unknown"
|
||||
if not _value:
|
||||
_value = tmp
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue