Entity not available for automation but still working

Hi,

I have an mqtt switch which I configures to automatically switch on and off at specific times. During the initial setup, everything was ok, but now, ONE day later, I get an error in lovelace:

Entity not available: automation.outdoorlight_on
Entity not available: automation.outdoorlight_off

They still work, so I am just worried, they stop working when I do not notice?!