Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95399

How to loop a automation of Telegrambot

$
0
0

@Stanv2 wrote:

Hello,
I want to loop my automation. When network devices are turned off I want the telegram bot to send a message something like: There is a problem with a network device. I already have that working. Now I want to loop the message until someone answers in the group chat: Ok or Stop. I was looking for other topics but i cant figure it out. I am new to home assistant. Can someone help me out?
this is what i have( currently used with a dummy switch).

- id: '1585574182630'
  alias: teststan
  description: ''
  trigger:
  - entity_id: switch.dummy
    from: 'on'
    platform: state
    to: 'off'
  condition: []
  action:
  - data:
      message: Test
    service: notify.wifibot

Stan

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95399

Trending Articles