Skip to content

Integration with Home Assistant #781

Description

@kamilprusko

Integrate Focus Timer with Home Asisstant.

It would allow home automations based on the timer state, like turning on the lights, extra notifications. There's already external service for this https://github.com/exploids/focus-timer-home-assistant-bridge/tree/main - it would be cool to have it built in.

Initial research:

  • MQTT would be benefitial over REST API: no auth-token needed, automatic discovery, and would handle app vanishing gracefully
  • Multiple fields (Entities) are allowed, we could use same fields as in the Automation / Condition selector:
    Image
  • A device may define Triggers - these could be linked to Automation / Events

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions