Call correct "button.press" service for input_button entity toggle action (#11350)

This commit is contained in:
Philip Allgaier 2022-01-18 09:05:19 +01:00 committed by GitHub
parent f3642a1677
commit 9ef743a695
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,6 +18,7 @@ export const turnOnOffEntity = (
service = turnOn ? "open_cover" : "close_cover";
break;
case "button":
case "input_button":
service = "press";
break;
default: