Sending an off command for non-ansver device regardless of status in HA

I use a 3rd-company non-ansvered devices to automise light in my house.
Devices can be swiched both HA and native switches. Native switches is not operated wight HA.
I’m trying to do “turn off everything” automation.
Immediately after starting the HA, when the HA does not know the status of the devices, everything works well.
Next, HA monitors the status by HA’s last command and does not send an off command if HA believes that the device is already turned off. However, the device can be turned on by a third-party switch.
Is it possible in automation to forcibly send an off command regardless of the status in HA?
I tried to edit “assumed state” and “initial state” in scenes for automation but without result.

1 Like