#How to change Huawei Battery Working mode by Node-Red action
1 messages · Page 1 of 1 (latest)
Google learned me to use select.select_option. A HA automation works to change the mode! But now in Node-Red I tried a lot but so far nothing works.
A debug node gives: 'InputError: Invalid JSON: {"option": time_of_use_luna2000} '
I tried Expression and JSON and many different syntax options.
Anyone who could help please
For Automations this works:
- action: select.select_option
metadata: {}
data:
option: time_of_use_luna2000
target:
entity_id: select.battery_working_mode```
Valid options are: adaptive, fixed_charge_discharge, maximise_self_consumption, fully_fed_to_grid, time_of_use_luna2000
After a long search, this works.
RESOLVED : How to change Huawei Battery Working mode by Node-Red action