Hi All,
Long term lurker asking for some help as I have run out of ideas. I have linked my google calendar and created an automation that sets my Victron inverter to charge at full rate during a “powerup” session (free electricity). This works fine and I am happy with this. But I have also setup another automation to change the inverter back to normal. This automation never triggers and therefore the inverter remains in full charge mode. Any help would be appreciated as I am going mad - surely it is just the reverse of the automation that does work!?
The first automation that works:
alias: Power up Start
description: Sets battery to charge at full rate at the start of a power up
trigger:
- platform: calendar
event: start
offset: "0:0:0"
entity_id: calendar.homeassistant_automations
condition:
- "{{ trigger.calendar_event.summary == 'Powerup' }}"
action:
- service: modbus.write_register
data:
address: 2700
unit: 100
value: "{{ 15000|int }}"
hub: victron
mode: single
And the automation that doesn’t work:
alias: Power up End
description: Sets battery to match usage after the power up finishes
trigger:
- platform: calendar
event: end
offset: "0:0:0"
entity_id: calendar.homeassistant_automations
condition:
- "{{ trigger.calendar_event.summary == 'Powerup' }}"
action:
- service: modbus.write_register
data:
address: 2700
unit: 100
value: "{{ 30|int }}"
hub: victron
mode: single