You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Invalid dev section for analog sensor in HA discovery leads to HA displaying all sensors prefixed with analog sensor name.
TO REPRODUCE
Add analog sensor.
EXPECTED BEHAVIOUR
Added analog sensor have separated device ids like others and not leads to change other entities names.
SCREENSHOTS
ADDITIONAL CONTEXT
Discovery topic value for this sensor { "stat_t": "ems-esp/analogsensor_data", "val_tpl": "{{value_json['05'].value if value_json['05'] is defined and value_json['05'].value is defined else wyłączono}}", "obj_id": "analogsensor_05", "uniq_id": "analogsensor_05", "name": "CWU potrzeba grzania", "pl_on": "włączono", "pl_off": "wyłączono", "dev": { "name": "CWU potrzeba grzania", "ids": [ "ems-esp" ] }, "avty": [ { "t": "ems-esp/status", "val_tpl": "{{'online' if value == 'online' else 'offline'}}" }, { "t": "ems-esp/analogsensor_data", "val_tpl": "{{'online' if value_json['05'] is defined and value_json['05'].value is defined else 'offline'}}" } ], "avty_mode": "all" }
The text was updated successfully, but these errors were encountered:
PROBLEM DESCRIPTION
Invalid dev section for analog sensor in HA discovery leads to HA displaying all sensors prefixed with analog sensor name.
TO REPRODUCE
Add analog sensor.
EXPECTED BEHAVIOUR
Added analog sensor have separated device ids like others and not leads to change other entities names.
SCREENSHOTS
ADDITIONAL CONTEXT
Discovery topic value for this sensor
{ "stat_t": "ems-esp/analogsensor_data", "val_tpl": "{{value_json['05'].value if value_json['05'] is defined and value_json['05'].value is defined else wyłączono}}", "obj_id": "analogsensor_05", "uniq_id": "analogsensor_05", "name": "CWU potrzeba grzania", "pl_on": "włączono", "pl_off": "wyłączono", "dev": { "name": "CWU potrzeba grzania", "ids": [ "ems-esp" ] }, "avty": [ { "t": "ems-esp/status", "val_tpl": "{{'online' if value == 'online' else 'offline'}}" }, { "t": "ems-esp/analogsensor_data", "val_tpl": "{{'online' if value_json['05'] is defined and value_json['05'].value is defined else 'offline'}}" } ], "avty_mode": "all" }
The text was updated successfully, but these errors were encountered: