Skip to content

Commit

Permalink
fix deviceclass
Browse files Browse the repository at this point in the history
  • Loading branch information
jdrozdnovak committed Jan 10, 2024
1 parent 5c3e22c commit 56444fa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions custom_components/temperature_feels_like/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
DOMAIN as CLIMATE,
)
from homeassistant.components.group import expand_entity_ids
from homeassistant.components.number import NumberDeviceClass
from homeassistant.components.sensor import (
SensorEntity,
SensorStateClass,
Expand Down Expand Up @@ -99,7 +98,7 @@ class TemperatureFeelingSensor(SensorEntity):
"""temperature_feels_like Sensor class."""

_attr_icon = "mdi:thermometer-lines"
_attr_device_class = NumberDeviceClass.TEMPERATURE
_attr_device_class = SensorDeviceClass.TEMPERATURE
_attr_state_class: SensorStateClass = SensorStateClass.MEASUREMENT
_attr_should_poll: bool = False
_attr_native_unit_of_measurement: str = UnitOfTemperature.CELSIUS
Expand Down

0 comments on commit 56444fa

Please sign in to comment.