Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias: Solax Inverter - Update last SoC >= 99%
- description: ""
- triggers:
- - entity_id:
- - sensor.solax_inverter_battery_1_capacity
- above: 98
- trigger: numeric_state
- for:
- hours: 1
- minutes: 0
- seconds: 0
- actions:
- - target:
- entity_id: input_datetime.solax_inverter_battery_1_capacity_last_over_99
- data:
- datetime: "{{ now().isoformat() }}"
- action: input_datetime.set_datetime
- mode: single
Advertisement
Add Comment
Please, Sign In to add comment