Skip to content

Commit da35ed5

Browse files
Merge pull request #54 from joemcc-90/unique_ids
Unique ids
2 parents 34c41b4 + edc8df6 commit da35ed5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

custom_components/isc/sensor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ def __init__(self, hass, config):
9595
}
9696

9797
self.entity_id = async_generate_entity_id(ENTITY_ID_FORMAT, "ics_" + str(config.get(CONF_ID)), hass=hass)
98+
self._attr_unique_id = self.entity_id
9899

99100
@property
100101
def name(self):

0 commit comments

Comments
 (0)