Skip to content

Single-timer usage + "timer start" MQTT event #55

@Offlein

Description

@Offlein

Hello,

This is a great card. I'm using it to control screen time in my house. Currently we have a button that blocks/unblocks Internet for the TV.

I have been somewhat confused by some of the card's UI, but I did successfully get my HA set up with an automation upon MQTT event "simple_timer_card/events/expired". At this point, it pauses the TV and runs our "block Internet" script.

However: I would like to actually also have it unblock the Internet (if it's needed) when the timer starts. I'm wondering if there's an undocumented event for this?

Secondly, in our use case, I would ideally like to just have a card with a single timer that's either running or not running. (I like being able to change the time/presets however - that part is ideal!) So I don't actually want a button that says "Add Timer".

It's probably easy enough to hide it via a style, but I'm wondering if you have an interest in a "single-timer" operation mode, maybe? Either "the card's timer" is counting or it's not, basically.

Thanks for a great experience!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions