Add state attribute translations for Number (#89881)

This commit is contained in:
Franck Nijhof 2023-03-17 18:52:19 +01:00 committed by GitHub
parent a15c45dbfe
commit 5657fcd1e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,7 +7,26 @@
},
"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": {
"name": "[%key:component::sensor::entity_component::apparent_power::name%]"