Skip to content

Commit

Permalink
refactor: Add name lookup to Generator switch for Deye
Browse files Browse the repository at this point in the history
  • Loading branch information
davidrapan committed Feb 9, 2025
1 parent 2c96235 commit 02d7a4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1514,10 +1514,10 @@ parameters:
icon: "mdi:battery"

- name: "Generator"
name_lookup: "io_mode_select"
platform: "switch"
rule: 1
registers: [0x00EA]
icon: "mdi:generator-stationary"

- name: "IO Mode"
alt: Generator input mode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -640,10 +640,10 @@ parameters:
icon: "mdi:battery"

- name: "Generator"
name_lookup: "io_mode_select"
platform: "switch"
rule: 1
registers: [0x0084]
icon: "mdi:generator-stationary"

- name: "IO Mode"
alt: Generator input mode
Expand Down

0 comments on commit 02d7a4f

Please sign in to comment.