Skip to content

Instantly share code, notes, and snippets.

View dmakovec's full-sized avatar

dmakovec

View GitHub Profile

Keybase proof

I hereby claim:

  • I am dmakovec on github.
  • I am dmakovec (https://keybase.io/dmakovec) on keybase.
  • I have a public key ASBcpBTrPgdunLzteXpuW9f0ElUrPPjFIN1sBnntRAwKDQo

To claim this, I am signing this object:

@dmakovec
dmakovec / automation_pill_reminder.yaml
Created November 3, 2022 00:51
A pill reminder automation for Home Assistant
alias: "Pill reminder"
description: ""
trigger:
- platform: time_pattern
minutes: /30
alias: Every 30 mins
condition:
- condition: state
entity_id: input_boolean.not_had_pill_today
state: "on"
@dmakovec
dmakovec / automation_toggle_not_had_pill_today.yaml
Created November 3, 2022 00:53
Toggle the "not had pill today" automation at 21:30
alias: "Toggle \"Not had pill today\""
description: ""
trigger:
- platform: time
at: "21:30:59"
enabled: true
condition: []
action:
- service: input_boolean.toggle
data: {}
@dmakovec
dmakovec / PillReminder.md
Created January 10, 2023 20:25
Example HA automation with action buttons
alias: "Pill reminder (interactive)"
description: ""
trigger:
  - platform: time_pattern
    minutes: /15
    alias: Every 15 mins
condition:
  - condition: state
    entity_id: input_boolean.not_had_pill_today