Skip to content

Instantly share code, notes, and snippets.

View Jhonattan-Souza's full-sized avatar
💭
Shaken, not stirred.

Jhonattan Souza Jhonattan-Souza

💭
Shaken, not stirred.
  • XP Inc
  • Rio de Janeiro
View GitHub Profile
blueprint:
name: Advanced Appliance Power Monitor
description: |
Monitors the activity of an appliance based on the power it uses (W) after given delays, and triggers actions based on start, running (power usage changed), and stop. You can use the variables
* `{{ elapsed_time }}` (total seconds)
* `{{ elapsed_time_days }}`
* `{{ elapsed_time_hours }}`
* `{{ elapsed_time_minutes }}`
* `{{ elapsed_time_seconds }}`
* `{{ energy_used }}`