I’ve not been working with home assistant all that long so a couple quite basic steps on how to approach things still elude me.
A good example of this is my dyson fan integration. I have it all set up and working, showing up under devices and entities and im able to control everything from there.
However i dont even know where to start getting the ‘code’ thats being used to control all of it from said devices or integrations section so i can dump it on a card to control the device. Here’s an example;
Here i can control just about everything id ever want… but how do i get for example the ‘code’ thats behind the preset mode so i can change that from anywhere else like a card on the dash or an automation? And im not talking about copying code form some website and hoping it works, i need to understand the workflow of getting to the functionality behind what you see in that picture because i have this issue on many more devices than just this fan.