feat: home assistant entity generic toggle (#2015)
Added support for generic toggle on Home Assistant entities that support it. For entities that does not support toggle the feature will silently fail. This way matches how Home Assistant handles it.
This commit is contained in:
committed by
GitHub
parent
6a5836f096
commit
18cd1f961f
@@ -22,8 +22,13 @@
|
||||
},
|
||||
"displayFriendlyName": {
|
||||
"label": "Display friendly name",
|
||||
"info": "Display friendly name from Home Assistant instead instead of display name"
|
||||
"info": "Display friendly name from Home Assistant instead instead of display name."
|
||||
},
|
||||
"genericToggle": {
|
||||
"label": "Entity toggle",
|
||||
"info": "Perform a generic Home Assistant toggle action on entity when clicked."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user