Skip to content

Instantly share code, notes, and snippets.

@crossan007
Created March 14, 2022 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save crossan007/a2909d84d02d627d55f20bdceb6ff583 to your computer and use it in GitHub Desktop.
Save crossan007/a2909d84d02d627d55f20bdceb6ff583 to your computer and use it in GitHub Desktop.
Tasmota Auto-Off Timer
Uses actual Power state instead of button press so that it works from remote HomeAssistant commands
as well as local commands
Rule1
ON Power1#state=1 DO RuleTimer1 3600 ENDON
ON Rules#Timer=1 DO Power1 off ENDON
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment