mirror of
https://github.com/tomaae/homeassistant-mikrotik_router.git
synced 2025-08-29 22:19:37 +02:00
added switch temperature sensor #243
This commit is contained in:
parent
385092a513
commit
fbbf4d8e33
1 changed files with 15 additions and 0 deletions
|
@ -172,6 +172,21 @@ SENSOR_TYPES = {
|
||||||
data_uid="",
|
data_uid="",
|
||||||
data_reference="",
|
data_reference="",
|
||||||
),
|
),
|
||||||
|
"system_switch-temperature": MikrotikSensorEntityDescription(
|
||||||
|
key="system_switch-temperature",
|
||||||
|
name="Switch temperature",
|
||||||
|
icon="mdi:thermometer",
|
||||||
|
native_unit_of_measurement=TEMP_CELSIUS,
|
||||||
|
device_class=SensorDeviceClass.TEMPERATURE,
|
||||||
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
|
entity_category=None,
|
||||||
|
ha_group="System",
|
||||||
|
data_path="health",
|
||||||
|
data_attribute="switch-temperature",
|
||||||
|
data_name="",
|
||||||
|
data_uid="",
|
||||||
|
data_reference="",
|
||||||
|
),
|
||||||
"system_board-temperature1": MikrotikSensorEntityDescription(
|
"system_board-temperature1": MikrotikSensorEntityDescription(
|
||||||
key="system_board-temperature1",
|
key="system_board-temperature1",
|
||||||
name="Board temperature",
|
name="Board temperature",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue