I’ve been searching and trying options, but, my brain has melted. I am sure I am missing something simple. Any help would be appreciated.
I have a glance card in ui-lovelace.yaml for the Dyson fan in the kids bedroom. The two sensors at the top are working fine (I am not sure how to rename, but that is for another time - name and friendly_name don’t do anything).
The turning on of the fan works fine (option 3)
But, I cannot for the life of me work out how to call a service for the oscillation.
That made the function send through and it worked. Which is good, thanks
I guess it may not have been exactly what I was after… Now I am thinking of a toggle for the oscillating and an indication of the status of such. Currently it has the yellow light on to match the fan on/off status, the same as entry 3, rather than the status of the oscillating.
Can I push the friendship for any ideas on what the best way would be to do that?
When you press the fan power button as it is a toggle action, it turns if on & off. Changing the colour depending if it is on or off.
I would like the oscillating to function in the same way. However, because it was a specific service, I create the thread asking how to set it to true, which you figured out.
However, now that I see how it is functioning, I would like the oscillating to also behave the same way as the power button does. I am just not sure how you would write that when it is a service function and act in the same way.
Sorry, I am learning so trying to keep up. I don’t have a switches.yaml. Do you mean create one of them or put them into the configuration.yaml, put all the switches you helped create in that. Then in the ui-lovelace.yaml reference it within the glance card? ie. switch.Oscillation