paulchartres / hass-tiko

A RESTful API to access Tiko Smart data. Made with Home Assistant in mind.
10 stars 3 forks source link

Sensor Unique ID #2

Closed Ecklypse closed 10 months ago

Ecklypse commented 10 months ago

HI Paul,

I added in the tiko.yaml unique id's. Indeed this allows to better handle them with lovelace. As example: sensors: parents_humidity: friendly_name: Parents humidity unique_id: parents_humidity value_template: "{{ state_attr('sensor.tiko_settings', 'parents_dry')}}" unit_of_measurement: "%" device_class: humidity

I think it could make sense indeed to add that to all of those generated. What do you think?

paulchartres commented 10 months ago

Fixed in the latest version, thanks for the suggestion!