Make only_named: 0 work
This commit is contained in:
parent
e277decd4c
commit
22c72060cf
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
|
|||
try:
|
||||
sensor_name = config[ts_sensor.id]
|
||||
except KeyError:
|
||||
if 'only_named' in config:
|
||||
if util.convert(config.get('only_named'), bool, False):
|
||||
continue
|
||||
sensor_name = str(ts_sensor.id)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue