I’m in the process of migrating from ST to HA and am moving many of my automations from SharpTools that couldn’t be done in the ST app to HA. I have several Inovelli switches that I set notification colors/effects on the LEDs, these switches are different models. SharpTools exposes a common method that sends them all. For example setNotificationColor()
:
In HA…I was hoping to do the same thing and call one common method to set the color for all of the switches, but it looks like in HA, the different models have different ways of setting them. There is no common setNotificationColor()
I have to set each switch separately (maybe I don’t, but I’m still pretty new to HA so still learning), for example. To set the color on one switch I have to use this:
On a different switch, I have to call this:
I can make it work in HA by selecting each switch and each method and setting them individually, but that takes 18 lines/steps to do it. In SharpTools, since they all use a common method, I can do it in 3.
This has me wondering how this works in SharpTools? Why is it different between ST and HA? My assumption is that SharpTools is simply exposing the Edge Drivers in ST and that’s how the driver was coded by Inovelli for ST and it’s displaying whatever the equivalent to a Edge driver is for HA?
TLDR: I don’t really have a problem, just curious how these systems works. Any explanation would be appreciated.