mirror of
https://github.com/tomaae/homeassistant-mikrotik_router.git
synced 2025-07-22 11:44:23 +02:00
black
This commit is contained in:
parent
593aca593b
commit
80bae0c34d
4 changed files with 12 additions and 9 deletions
|
@ -72,11 +72,8 @@ def _skip_sensor(config_entry, entity_description, data, uid) -> bool:
|
|||
):
|
||||
return True
|
||||
|
||||
if (
|
||||
entity_description.data_path == "netwatch"
|
||||
and not config_entry.options.get(
|
||||
CONF_SENSOR_NETWATCH_TRACKER, DEFAULT_SENSOR_NETWATCH_TRACKER
|
||||
)
|
||||
if entity_description.data_path == "netwatch" and not config_entry.options.get(
|
||||
CONF_SENSOR_NETWATCH_TRACKER, DEFAULT_SENSOR_NETWATCH_TRACKER
|
||||
):
|
||||
return True
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue