Show us your automation’s code.
If you don’t filter on state (on or off) your automation will fire at all states including unknown or unavailable
You can have only one automation, just use multiple triggers, conditions and if/else or choose in action