mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Add state attribute translations for Number (#89881)
This commit is contained in:
parent
a15c45dbfe
commit
5657fcd1e8
@ -7,7 +7,26 @@
|
|||||||
},
|
},
|
||||||
"entity_component": {
|
"entity_component": {
|
||||||
"_": {
|
"_": {
|
||||||
"name": "[%key:component::number::title%]"
|
"name": "[%key:component::number::title%]",
|
||||||
|
"state_attributes": {
|
||||||
|
"max": {
|
||||||
|
"name": "Maximum"
|
||||||
|
},
|
||||||
|
"min": {
|
||||||
|
"name": "Minimum"
|
||||||
|
},
|
||||||
|
"mode": {
|
||||||
|
"name": "Mode",
|
||||||
|
"state": {
|
||||||
|
"auto": "Automatic",
|
||||||
|
"box": "Box",
|
||||||
|
"slider": "Slider"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"step": {
|
||||||
|
"name": "Step"
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"apparent_power": {
|
"apparent_power": {
|
||||||
"name": "[%key:component::sensor::entity_component::apparent_power::name%]"
|
"name": "[%key:component::sensor::entity_component::apparent_power::name%]"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user