The code in text:
entity: binary_sensor.bedroomwindow
show_name: false
show_state: false
state_image:
'off': /local/images/windowclose.png
'on': /local/images/windowopen.png
type: picture-entity
The code in text:
entity: binary_sensor.bedroomwindow
show_name: false
show_state: false
state_image:
'off': /local/images/windowclose.png
'on': /local/images/windowopen.png
type: picture-entity