Add common state references to cover, valve and lock (#141754)

* Add common states to `cover`

* @NoRi2909 Add common states to `valve`

* Add common states to `lock`
This commit is contained in:
Norbert Rittel 2025-03-29 22:06:15 +01:00 committed by GitHub
parent bcead72265
commit b65b5aacb6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 7 deletions

View File

@ -38,10 +38,10 @@
"name": "[%key:component::cover::title%]", "name": "[%key:component::cover::title%]",
"state": { "state": {
"open": "[%key:common::state::open%]", "open": "[%key:common::state::open%]",
"opening": "Opening", "opening": "[%key:common::state::opening%]",
"closed": "[%key:common::state::closed%]", "closed": "[%key:common::state::closed%]",
"closing": "Closing", "closing": "[%key:common::state::closing%]",
"stopped": "Stopped" "stopped": "[%key:common::state::stopped%]"
}, },
"state_attributes": { "state_attributes": {
"current_position": { "current_position": {

View File

@ -28,7 +28,7 @@
"locked": "[%key:common::state::locked%]", "locked": "[%key:common::state::locked%]",
"locking": "Locking", "locking": "Locking",
"open": "[%key:common::state::open%]", "open": "[%key:common::state::open%]",
"opening": "Opening", "opening": "[%key:common::state::opening%]",
"unlocked": "[%key:common::state::unlocked%]", "unlocked": "[%key:common::state::unlocked%]",
"unlocking": "Unlocking" "unlocking": "Unlocking"
}, },

View File

@ -5,10 +5,10 @@
"name": "[%key:component::valve::title%]", "name": "[%key:component::valve::title%]",
"state": { "state": {
"open": "[%key:common::state::open%]", "open": "[%key:common::state::open%]",
"opening": "Opening", "opening": "[%key:common::state::opening%]",
"closed": "[%key:common::state::closed%]", "closed": "[%key:common::state::closed%]",
"closing": "Closing", "closing": "[%key:common::state::closing%]",
"stopped": "Stopped" "stopped": "[%key:common::state::stopped%]"
}, },
"state_attributes": { "state_attributes": {
"current_position": { "current_position": {