HI. I use this sketch to my lisght but in Home Assistant it show me it as SWITCH. Is any chance to change it in mysensors sketch to show in Home Assisnatnt as LIGHT ?
What I did not try but might work: copy your persistence file, delete the old GW and create a new one with the persistence file you copied. Maybe the devices are preserved like this. Maybe you should create a full backup before...
<edit: typo>
Please read carefully documentation for HA. https://www.home-assistant.io/integrations/mysensors/
You need to send initial state of your sensors. There is example code for doing it. Basically you check in loop if the node just started and send some values to HA. After that your sensor will appear in HA.
I have encountered the same situation trying to use a switch to control some blinds.
Has there been any update on this issue from either Home Assistant or MySensors, or any workaround developed?
Hi, friend!
He also became interested in the Home Assistant system, but was upset by the lack of support OTA.
I use a system Majordomo for MySensors devices and my Ethernet-RS485 gateways are based on ENC28J60.
And I found such an idea for myself - to implement a proxy for the TCP protocol in order to implement a parallel connection to the gateway of two systems at the same time.
I tested this solution and it turned out to work - I was able to flash via OTA , while simultaneously receiving data in Home Assistant.
Perhaps this idea will be of interest to you.