Skip to content

Commit

Permalink
Added mapping description for device_mode text_sensor
Browse files Browse the repository at this point in the history
  • Loading branch information
MarekOleksik authored Sep 22, 2024
1 parent d70fad4 commit ef8386e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion esp32-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,17 @@ sensor:

text_sensor:
- platform: pipsolar
pipsolar_id: inverter0
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 ef8386e

Please sign in to comment.