Skip to content

Commit

Permalink
Merge pull request #304 from ic-dev21/main
Browse files Browse the repository at this point in the history
Typo
  • Loading branch information
ic-dev21 authored Oct 24, 2023
2 parents cde1a20 + aa61f52 commit e4fc28d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/hilo/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,10 +217,10 @@ class Co2Sensor(HiloEntity, SensorEntity):
_attr_state_class = SensorStateClass.MEASUREMENT

def __init__(self, hilo, device):
self._attr_name = f"{device.name} WifiStrength"
self._attr_name = f"{device.name} CO2"
super().__init__(hilo, name=self._attr_name, device=device)
self._attr_unique_id = f"{slugify(device.name)}-co2"
LOG.debug(f"Setting up WifiStrengthSensor entity: {self._attr_name}")
LOG.debug(f"Setting up CO2Sensor entity: {self._attr_name}")

@property
def state(self):
Expand Down

0 comments on commit e4fc28d

Please sign in to comment.