mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +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": {
|
"turn_on": {
|
||||||
"service": "mdi:lightbulb-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:
|
state:
|
||||||
fields:
|
|
||||||
target:
|
|
||||||
required: true
|
|
||||||
selector:
|
|
||||||
target:
|
target:
|
||||||
entity:
|
entity:
|
||||||
domain: light
|
domain: light
|
||||||
|
fields:
|
||||||
state:
|
state:
|
||||||
required: true
|
required: true
|
||||||
selector:
|
selector:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user