mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 06:07:17 +00:00
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:
parent
bcead72265
commit
b65b5aacb6
@ -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": {
|
||||||
|
@ -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"
|
||||||
},
|
},
|
||||||
|
@ -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": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user