Skip to content

Instantly share code, notes, and snippets.

View gamba69's full-sized avatar

Igor K. Dulevich gamba69

  • 03:23 (UTC +03:00)
View GitHub Profile
@gamba69
gamba69 / offline-notification-for-sensors-with-last_seen.yaml
Last active August 23, 2023 11:59 — forked from Mr-Groch/offline-notification-for-sensors-with-last_seen.yaml
Home Assistant Blueprint: Offline detection for Z2M devices with last_seen
blueprint:
name: Offline detection for Z2M devices with last_seen
description:
Regularly test all sensors ended with '_last_seen' in name and 'timestamp' device_class
('last seen' Z2M sensors) to detect offline devices and if so - execute an action.
domain: automation
input:
unseen:
name: Minutes last seen
description: Devices not seen this amount of time are assumed to be offline