Add entity category on All entities

This commit is contained in:
2022-03-04 16:50:34 +01:00
parent 09231c4fc0
commit 9f5b09dc4c
6 changed files with 34 additions and 2 deletions

View File

@@ -50,6 +50,10 @@ class GeoRideSirenEntity(CoordinatorEntity, SirenEntity):
self.entity_id = f"{ENTITY_ID_FORMAT.format('eco_mode')}.{tracker_device.tracker.tracker_id}"# pylint: disable=C0301
self._hass = hass
@property
def entity_category(self):
return None
async def async_turn_on(self, **kwargs):
""" lock the GeoRide tracker """
_LOGGER.info('async_turn_on eco %s', kwargs)