I have an input select in ESPHome that Im trying to change in an automation.
It fails so I tried it in dev tools and it fails there also
select:
- platform: "tuya"
tuya_id: "house"
name: "ESPH House Power Select"
enum_datapoint: 4
options:
0: P1-High
1: P2-Med High
2: P3-Med Low
3: P4-Low
I know it works because I change it in the Lovelace card and I get log entries of it changing and it changes on the device:
In dev tools I try and call this service, but it does nothing.
service: input_select.select_option
data:
option: P1-High # I've also tried 0,1,2 and 3 Thinking it's the index that's needed?
target:
entity_id: select.esph_house_power_select
What am I doing wrong? It has to be something really basic I’m doing wrong.