Are multiple automations as listed in the setup for a motion sensor tested for applicability in order from top to bottom with the first applicable one found being applied, or is it the one with the most specific set of applicable conditions?
For example, if one automation has the condition ‘After sunrise’ and another has ‘Between 10am and 11am’ does the listing order matter, and which automation gets applied? (Assume sunrise is before 10am.)