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
@jlpouffier
jlpouffier / scripts.yaml
Created April 13, 2025 21:20
Fetch Shopping List
alias: Get Shopping list item
sequence:
- action: todo.get_items
target:
entity_id:
- todo.listes_des_courses
response_variable: result
data:
status: needs_action
- stop: ""
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 }}`