mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 22:37:11 +00:00
Migrate Sensibo translations (#83310)
This commit is contained in:
parent
5121952a85
commit
c2da664bcc
@ -131,7 +131,7 @@ PURE_SENSOR_TYPES: tuple[SensiboDeviceSensorEntityDescription, ...] = (
|
||||
icon="mdi:air-filter",
|
||||
value_fn=lambda data: data.pure_sensitivity,
|
||||
extra_fn=None,
|
||||
device_class="sensibo__sensitivity",
|
||||
translation_key="sensitivity",
|
||||
),
|
||||
FILTER_LAST_RESET_DESCRIPTION,
|
||||
)
|
||||
@ -174,7 +174,7 @@ DEVICE_SENSOR_TYPES: tuple[SensiboDeviceSensorEntityDescription, ...] = (
|
||||
),
|
||||
SensiboDeviceSensorEntityDescription(
|
||||
key="climate_react_type",
|
||||
device_class="sensibo__smart_type",
|
||||
translation_key="smart_type",
|
||||
name="Climate React type",
|
||||
value_fn=lambda data: data.smart_type,
|
||||
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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user