mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 01:06:35 +00:00
Call correct "button.press" service for input_button entity toggle action (#11350)
This commit is contained in:
parent
f3642a1677
commit
9ef743a695
@ -18,6 +18,7 @@ export const turnOnOffEntity = (
|
||||
service = turnOn ? "open_cover" : "close_cover";
|
||||
break;
|
||||
case "button":
|
||||
case "input_button":
|
||||
service = "press";
|
||||
break;
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user