Hi there.
I have some Broadlink door sensors, and they work fine. To change the state names (translation) and also the pictures, I added the following to my sensors.yaml:
I just purchased a sonoff DW2 wifi door sensor⌠It is working, but I also wanna change the state names and pics. The problem is: It is not a regular sensor, it is a binary sensor. (entity_id: binary_sensor.sonoff_10011a340a) and I don´t know to add the code to my sensors.yaml to make it work. Any ideas? (Even being binary - open and closed⌠it has âunavailableâ, and I think thatâs the problem⌠or not)
You can do the same thing (create a template sensor) but instead of using âsensor.roadlink_s1c_janela_salaâ in the template use âbinary_sensor.sonoff_10011a340aâ.
you will end up with a regular sensor (in addition to the existing binary sensor) but in the end it wonât really matter because it will display the way you want and not the âdefaultâ way it is now.
tks man, it worked! It was really because of open/closed instead of on/off. I didnât know that there are âvisual statesâ and âactual statesââŚ