We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Simple Service example that checks a binary sensor and outputs pass/fail based on the state.
""" Service script """ @service def test(): if binary_sensor.workday == 'on': log.info(f"State Trigger test: fail") pass else: log.info(f"State Trigger test: pass") pass