Hello,
I have implemented a difuser with localtuya into home assistant. I figured out that DP 103 have the information about the spray mode of the difuser. The modes are changed with the raw states ‘small’ and ‘big’.
Now i want to change this mode with a switch entity, but it does not work. In the entity options is only display under attributes the raw state ‘small’ so i guess the switch do not switch between the states.
Can anyone help me that the switch change between the modes?
Like:
Switch.turn_on → raw state ‘big’
Switch.turn_off → raw state ‘small’