Open JacobChrist opened 1 year ago
Nice catch! I'm open to a pull request to this effect.
While looking around at the arduino-home-assistant examples I notices that you can set the icon, I do a pull request for this issue, would you mind if I changed the default icon for the LED?
led.setIcon("mdi:led-outline"); // optional
Oh that's a terrific addition, hell yes, thank you.
Suggestion: Add note in HAIntegration.cpp that HASwitch(uniqueid) must not contain spaces.