@Makis wrote:
Hi
I never used an input boolean before and although I (semi) understand the concept I am not sure how to implement. I have the following automation and I need to get reminded to “don’t forget the garbage” from the 2nd time I will open the door and for max 5 times.##Don't forget the garbage - id: Don't forget the garbage alias: Don't forget the garbage trigger: - platform: state entity_id: binary_sensor.1_main_door to: 'on' condition: condition: and conditions: - condition: state entity_id: binary_sensor.2_radar_outdoor state: 'off' - condition: time after: '06:00:00' before: '23:00:00' action: - service: media_player.volume_set data_template: entity_id: media_player.living_room_speaker volume_level: 0.5 - service: tts.google_translate_say entity_id: media_player.living_room_speaker data_template: message: "Please, don't forget the garbage" - delay: seconds: 30 - service: media_player.volume_set data_template: entity_id: media_player.living_room_speaker volume_level: 0.3
So I think that the input boolean part should be like this
input_number: main_door_sequence: initial: 0 min: 1 max: 5
but I can not figure out how to add it in my automation.
Can someone help please?
Posts: 1
Participants: 1