diff --git a/esp32-example.yaml b/esp32-example.yaml index 26c9fb4..e22d14c 100644 --- a/esp32-example.yaml +++ b/esp32-example.yaml @@ -161,6 +161,14 @@ text_sensor: pipsolar_id: inverter0 device_mode: name: "${name} device_mode" + filters: + map: + - P -> Power on mode + - S -> Standby mode + - L -> Line mode + - B -> Battery mode + - F -> Fault mode + - D -> Shutdown mode # last_qpigs: # name: "${name} last_qpigs" # last_qpiri: diff --git a/esp8266-example.yaml b/esp8266-example.yaml index 3e3d877..5a41480 100644 --- a/esp8266-example.yaml +++ b/esp8266-example.yaml @@ -159,6 +159,14 @@ text_sensor: pipsolar_id: inverter0 device_mode: name: "${name} device_mode" + filters: + map: + - P -> Power on mode + - S -> Standby mode + - L -> Line mode + - B -> Battery mode + - F -> Fault mode + - D -> Shutdown mode # last_qpigs: # name: "${name} last_qpigs" # last_qpiri: