Skip to content

Examples for listening to "call service" don't work #295

Answered by brettonw
brettonw asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks to ryaowe's help, the working result is:

    @event_trigger("timer.finished", "entity_id == 'timer. my_timer_entity_id'")
    def timer_finished(domain=None, entity_id=None):
        log.info(f"timer finished!")

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
3 replies
@brettonw
Comment options

@ryaowe
Comment options

@brettonw
Comment options

Comment options

You must be logged in to vote
2 replies
@brettonw
Comment options

@ryaowe
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by brettonw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants