mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 12:45:28 +02:00
Migrate Sensibo translations (#83310)
This commit is contained in:
@@ -131,7 +131,7 @@ PURE_SENSOR_TYPES: tuple[SensiboDeviceSensorEntityDescription, ...] = (
|
|||||||
icon="mdi:air-filter",
|
icon="mdi:air-filter",
|
||||||
value_fn=lambda data: data.pure_sensitivity,
|
value_fn=lambda data: data.pure_sensitivity,
|
||||||
extra_fn=None,
|
extra_fn=None,
|
||||||
device_class="sensibo__sensitivity",
|
translation_key="sensitivity",
|
||||||
),
|
),
|
||||||
FILTER_LAST_RESET_DESCRIPTION,
|
FILTER_LAST_RESET_DESCRIPTION,
|
||||||
)
|
)
|
||||||
@@ -174,7 +174,7 @@ DEVICE_SENSOR_TYPES: tuple[SensiboDeviceSensorEntityDescription, ...] = (
|
|||||||
),
|
),
|
||||||
SensiboDeviceSensorEntityDescription(
|
SensiboDeviceSensorEntityDescription(
|
||||||
key="climate_react_type",
|
key="climate_react_type",
|
||||||
device_class="sensibo__smart_type",
|
translation_key="smart_type",
|
||||||
name="Climate React type",
|
name="Climate React type",
|
||||||
value_fn=lambda data: data.smart_type,
|
value_fn=lambda data: data.smart_type,
|
||||||
extra_fn=None,
|
extra_fn=None,
|
||||||
|
@@ -29,5 +29,22 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"entity": {
|
||||||
|
"sensor": {
|
||||||
|
"sensitivity": {
|
||||||
|
"state": {
|
||||||
|
"n": "Normal",
|
||||||
|
"s": "Sensitive"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"smart_type": {
|
||||||
|
"state": {
|
||||||
|
"temperature": "Temperature",
|
||||||
|
"feelslike": "Feels like",
|
||||||
|
"humidity": "Humidity"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,13 +0,0 @@
|
|||||||
{
|
|
||||||
"state": {
|
|
||||||
"sensibo__sensitivity": {
|
|
||||||
"n": "Normal",
|
|
||||||
"s": "Sensitive"
|
|
||||||
},
|
|
||||||
"sensibo__smart_type": {
|
|
||||||
"temperature": "Temperature",
|
|
||||||
"feelslike": "Feels like",
|
|
||||||
"humidity": "Humidity"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@@ -29,5 +29,22 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"entity": {
|
||||||
|
"sensor": {
|
||||||
|
"sensitivity": {
|
||||||
|
"state": {
|
||||||
|
"n": "Normal",
|
||||||
|
"s": "Sensitive"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"smart_type": {
|
||||||
|
"state": {
|
||||||
|
"feelslike": "Feels like",
|
||||||
|
"humidity": "Humidity",
|
||||||
|
"temperature": "Temperature"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user