Skip to content

Instantly share code, notes, and snippets.

@Ashpork
Ashpork / HA-Power-sensors.yaml
Last active September 15, 2024 19:13
A snippet of the basic additional sensors configuration needed to track Panel production, on a SolarEdge single inverter, single battery system, along with the configuration used on the Power Flow Plus card.
template:
- sensor:
- name: "Solar Panel Production W"
unique_id: solar_panel_production_w
unit_of_measurement: "W"
icon: mdi:solar-power
state: >
{% set i1_dc_power = states('sensor.solaredge_i1_dc_power') | float(0) %}
{% set b1_dc_power = states('sensor.solaredge_b1_dc_power') | float(0) %}
@Ashpork
Ashpork / Predbat-SE-HoldCharge Example
Created September 9, 2024 20:58
An automation to help set the charge rate to 0, when a Predbat holdcharge has been triggered.
alias: Predbat - Hold Charge Helper
description: ""
trigger:
- platform: state
entity_id:
- sensor.solaredge_b1_state_of_energy
- input_select.solaredge_command
- number.solaredge_i1_storage_charge_limit
- predbat.status
- switch.predbat_active