mirror of
https://github.com/home-assistant/core.git
synced 2025-07-08 22:07:10 +00:00
Add category diagnostic to Tibber signal sensor (#57840)
This commit is contained in:
parent
4aadb848e1
commit
dd2d708cb9
@ -25,6 +25,7 @@ from homeassistant.const import (
|
||||
ELECTRIC_CURRENT_AMPERE,
|
||||
ELECTRIC_POTENTIAL_VOLT,
|
||||
ENERGY_KILO_WATT_HOUR,
|
||||
ENTITY_CATEGORY_DIAGNOSTIC,
|
||||
EVENT_HOMEASSISTANT_STOP,
|
||||
PERCENTAGE,
|
||||
POWER_WATT,
|
||||
@ -172,6 +173,7 @@ RT_SENSORS: tuple[SensorEntityDescription, ...] = (
|
||||
device_class=DEVICE_CLASS_SIGNAL_STRENGTH,
|
||||
native_unit_of_measurement=SIGNAL_STRENGTH_DECIBELS,
|
||||
state_class=STATE_CLASS_MEASUREMENT,
|
||||
entity_category=ENTITY_CATEGORY_DIAGNOSTIC,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="accumulatedReward",
|
||||
|
Loading…
x
Reference in New Issue
Block a user