Add state attribute translations for fans (#89816)

This commit is contained in:
Franck Nijhof 2023-03-17 04:01:47 +01:00 committed by GitHub
parent 79c9447770
commit a2b6ef3d7b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,6 +22,30 @@
"state": {
"off": "[%key:common::state::off%]",
"on": "[%key:common::state::on%]"
},
"state_attributes": {
"direction": {
"name": "Direction",
"state": {
"forward": "Forward",
"reverse": "Reverse"
}
},
"oscillating": {
"name": "Oscillating"
},
"percentage": {
"name": "Speed"
},
"percentage_step": {
"name": "Speed step"
},
"preset_modes": {
"name": "Available preset modes"
},
"preset_mode": {
"name": "Preset mode"
}
}
}
}