Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to make tap on entity state complication toggle the corresponding device. #4073

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Dec 26, 2023

  1. Add option to make tap on entity state complication toggle the corres…

    …ponding device.
    
    Currently, tapping a complication only refreshes the entity state. This PR adds a "toggle entity when tapped" option to the complication configuration page. When this option is enabled, tapping on the complication triggers a call to the #onPressed method of the corresponding device entity, which in turns executes a RPC to the corresponding service. This lets users quickly toggle home assistant devices with a single click on their watch face.
    clju committed Dec 26, 2023
    Configuration menu
    Copy the full SHA
    1852bbe View commit details
    Browse the repository at this point in the history