Skip to content

Commit

Permalink
fix entity_id for 2022.3
Browse files Browse the repository at this point in the history
  • Loading branch information
kongo09 committed Mar 4, 2022
1 parent 9f0b665 commit 21547e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/hhs_vertretungsplan/binary_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def __init__(self, coordinator: HHSDataUpdateCoordinator, config: ConfigEntry):
self._attr_entity_category = "diagnostic"
self._attr_name = self._tutor_group
self._attr_unique_id = self._tutor_group
self.entity_id = "." + slugify(PREFIX + "_" + self._tutor_group)
self.entity_id = "binary_sensor." + slugify(PREFIX + "_" + self._tutor_group)

@property
def available(self) -> bool:
Expand Down

0 comments on commit 21547e6

Please sign in to comment.