mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
Move target selector to toplevel; add strings and icons
This commit is contained in:
parent
0bd5231f37
commit
3d98bc986b
@ -22,5 +22,10 @@
|
||||
"turn_on": {
|
||||
"service": "mdi:lightbulb-on"
|
||||
}
|
||||
},
|
||||
"triggers": {
|
||||
"state": {
|
||||
"trigger": "mdi:state-machine"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -461,5 +461,18 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"triggers": {
|
||||
"state": {
|
||||
"name": "State",
|
||||
"description": "When the state of a light changes, such as turning on or off.",
|
||||
"description_configured": "When the state of a light changes",
|
||||
"fields": {
|
||||
"state": {
|
||||
"name": "State",
|
||||
"description": "The state to trigger on."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,11 +1,8 @@
|
||||
state:
|
||||
target:
|
||||
entity:
|
||||
domain: light
|
||||
fields:
|
||||
target:
|
||||
required: true
|
||||
selector:
|
||||
target:
|
||||
entity:
|
||||
domain: light
|
||||
state:
|
||||
required: true
|
||||
selector:
|
||||
|
Loading…
x
Reference in New Issue
Block a user