Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias: PS1 Condensate Bucket
- description: ""
- triggers:
- - trigger: state
- entity_id:
- - climate.midea_portasplit_12000btu
- from:
- - "off"
- id: midea-on
- to:
- - cool
- - trigger: state
- entity_id:
- - climate.midea_portasplit_12000btu
- id: midea-off
- from:
- - cool
- - trigger: timer.finished
- target:
- entity_id: timer.PS1_runtime_timer
- options:
- for: "00:00:00"
- id: timer-runtime-end
- - trigger: timer.finished
- target:
- entity_id: timer.PS1_bucket_timer
- options:
- for: "00:00:00"
- id: timer-bucket-end
- conditions: []
- actions:
- - alias: Midea ON
- if:
- - condition: trigger
- id:
- - midea-on
- then:
- - action: timer.start
- metadata: {}
- target:
- entity_id:
- - timer.PS1_runtime_timer
- - timer.PS1_bucket_timer
- data: {}
- - alias: Midea OFF
- if:
- - condition: trigger
- id:
- - midea-off
- then:
- - action: timer.pause
- metadata: {}
- target:
- entity_id:
- - timer.PS1_bucket_timer
- - timer.PS1_runtime_timer
- data: {}
- - alias: Timer Bucket Empty End
- if:
- - condition: trigger
- id:
- - timer-bucket-end
- then:
- - parallel:
- - action: notify.ntfy_general
- data:
- message: PS1 Bucket Need to be emptied.
- title: "{{ now().strftime('%Y/%m/%d @ %H:%M') }}"
- - parallel:
- - action: tts.speak
- metadata: {}
- target:
- entity_id: tts.piper
- data:
- cache: true
- media_player_entity_id: media_player.weem_office_tablet
- message: Aircon bucket needs to be emptied
- - action: tts.speak
- metadata: {}
- target:
- entity_id: tts.piper
- data:
- cache: true
- media_player_entity_id: media_player.weem_kitchen_tablet
- message: Aircon bucket needs to be emptied
- continue_on_error: true
- - alias: Timer Runtime End
- if:
- - condition: trigger
- id:
- - timer-runtime-end
- then:
- - action: input_boolean.turn_on
- metadata: {}
- target:
- entity_id: input_boolean.PS1_venting
- data: {}
- - parallel:
- - data:
- message: PS1 Bucket hasn't been emptied. Starting Fan Only Mode
- title: "{{ now().strftime('%Y/%m/%d @ %H:%M') }}"
- action: notify.ntfy_sos
- continue_on_error: true
- - action: script.tts_PS1_bucket_not_emptied_in_18hrs
- metadata: {}
- data: {}
- mode: queued
- max: 10
Advertisement
Add Comment
Please, Sign In to add comment