Limych / ha-iaquk

Indoor Air Quality Sensor Component for Home Assistant
MIT License
105 stars 15 forks source link

Ensure var is set before setting entity_id #149

Closed chris-y closed 5 months ago

chris-y commented 5 months ago

Proposed change

Corrects the entity_id so it does not show up as unnamed_device. This does not appear to change existing items, only new ones added since the change.

Type of change

Additional information

Checklist

If user exposed functionality or configuration variables are added/changed:

chris-y commented 5 months ago

I'll re-do this, just noticed I've based it on old code.