PicoW_HomeAssistant_Starter
PicoW_HomeAssistant_Starter copied to clipboard
Suggestion: Add note in HAIntegration.cpp
trafficstars
Suggestion: Add note in HAIntegration.cpp that HASwitch(uniqueid) must not contain spaces.
HASwitch led("led"); // unique identifier must not contain spaces
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.