One of my doorsensors works perfect with the code below but I want to add a timestamp so the last time the status changed is shown in my card. As a Hassio newbie I do need some help, is someone willing to guide me?
Thanks for the link Finity. Just visited, I need to make an extra entity am I right? In that case I really don’t know how to use the code for my config, can you be more specific?
Thanks for helping! With the code below (after adding secondary-info: last_changed) the Hassio validator shows this error:
Invalid config for [binary_sensor.mqtt]: [secondary-info] is an invalid option for [binary_sensor.mqtt]. Check: binary_sensor.mqtt->secondary-info. (See ?, line ?). Please check the docs at https://home-assistant.io/integrations/binary_sensor.mqtt/