Skip to content

Commit

Permalink
Map device modes to human readable descriptions (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarekOleksik authored Sep 22, 2024
1 parent d70fad4 commit 8fb2403
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions esp32-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
8 changes: 8 additions & 0 deletions esp8266-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8fb2403

Please sign in to comment.