#Controlling Notifications Flow

1 messages · Page 1 of 1 (latest)

trim pendant
#

Just starting to work my way into HA - This is my first effort - which functions, but is inelegant and I want to add notification of HVAC mode changes.

#

id: '1643850375256'
alias: 'Heat Pumps set mode based on exterior Temp '
description: ''
trigger:

  • platform: homeassistant
    event: start
    id: HA Start
  • platform: homeassistant
    event: shutdown
    id: HA Stop
    condition: []
    action:
  • repeat:
    until:
    - condition: trigger
    id: HA Stop
    sequence:
    - choose:
    - conditions:
    - condition: numeric_state
    entity_id: sensor.openweathermap_temperature
    below: '17'
    sequence:
    - service: script.heat_pump_shutdown
    - conditions:
    - condition: numeric_state
    entity_id: sensor.openweathermap_temperature
    below: '55'
    above: '17.1'
    sequence:
    - service: script.heat_pumps_heat_mode_on
    - conditions:
    - condition: numeric_state
    entity_id: sensor.openweathermap_temperature
    above: '55.1'
    below: '80'
    sequence:
    - service: script.heat_pump_shutdown
    default:
    - service: script.heat_pumps_cool
    mode: restart
    max: 10
odd musk
#
  1. If I hadn't seen you starting this thread, I would have never opened it. If you want help, I would advice against starting threads
  2. Share your code using a code sharing your code, and at least properly format it using backticks
  3. Just use numeric_state triggers in combination with your choose. What you are trying now will continously non stop run your automation until probably your system crashes
#

.share

#

hmm, no bot here I guess