This commit is contained in:
Tomaae 2023-11-06 00:48:47 +01:00
parent 593aca593b
commit 80bae0c34d
No known key found for this signature in database
GPG key ID: 2F97770867DAA4E6
4 changed files with 12 additions and 9 deletions

View file

@ -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