Replies: 2 comments
-
On my setup I have the below in place of your switch section. Seems to work. Keep your sensor section to confirm the change was made to your inverter. select:
- platform: modbus_controller
name: "Supply priority"
address: 0xE204
value_type: U_WORD
optionsmap:
"AC 1ST": 0
"Battery 1ST": 1
"Solar 1ST": 2 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Where did you find anything about a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have added my inverter to Home Assistant through ESP32 & ESPHome.
There's register E204 which is a R/W one.
I want to write values to it from a Home assistant switch.
Following code I use.
This works fine without that switch part. When I add this part, it gives me an error as below
How to correct this?
I'm new to coding.
Beta Was this translation helpful? Give feedback.
All reactions