Dear All,
It is very beginning for me to do sth with HA and probably answer for my question is obwious but i have some issue with it.
Is there a difference between light and switch definition for HA?
I would have mqtt switch and ModbusTCP coil as light (relay). I would like to also control this light from HA panel. How I should config this? Should I have a light entity and switch combined with mqtt? How to define action between switch and light?
I have problem to understand this maybe becouse I’am rather automatic. Nowadays I have ET200SP CPU 1211 and my electronics switches as ported Snap7 library on STM32. Would be nice to switch to raspberry and ModbusTCP IO field.
OK its done with light switch and action.