⛔ Offline Devices Report : Easy Customize Includes & Excludes, Notifications + More

What’s the exclude text pattern so it only outputs devices and not entities?

The blueprint is for listing Entities. The text pattern is a filter… “Pattern-based exclusions using text strings”

for example, I use this to exclude entities I do not want in the list…


      shuffle
      repeat
      battery
      Battery
      disturb
      schedule
      indication

Thanks for sharing. How to add lights ( matter devices) into this blueprint.

light domain is excluded. You can edit the blueprint YAML to remove that exclusion… you will get any/all offline lights from any integration

Did anyone notice a jump in CPU usage while using this blueprint?
As soon as I activate it, my HAOS CPU goes from 3% to 6-7%. In glances I can see that the python3 process needs at least 30% CPU time (instead of 3-5% without the blueprint).

Thats only possible if you have Real-Time debug turned on. Otherwise, it only runs on the the schedule you set.

I’ve disabled all logging, but the second I do activate the automation based on that blueprint, CPU usage spikes up. Any hints regarding that config?

alias: Z Offline Check
description: ""
use_blueprint:
  path: Ltek/offline-devices-report-ltek.yaml
  input:
    include_time: time_enabled
    include_easy_notify: enable_easy_notify
    notify_device:
      - <redacted>
      - <redacted>
      - <redacted>
      - <redacted>
    notify_action_buttons: disabled_notify_action_buttons
    weekday_options:
      - sun
      - sat
      - fri
      - thu
      - wed
      - tue
      - mon
    include_logbook_debug: logbook_disabled
    include_system_log_debug: systemlog_disabled
    include_custom_actions: disable_custom_actions

When I “take control” I can obviously seeing that automation checking if debug is activated (sure, as debug is activated by each change). When I do manually remove that trigger condition, CPU goes down. (Screenshot of modified version attached)
Any idea why checking but not being activated lead to that CPU usage?

You are correct. I updated the blueprint to disable (comment out) the trigger so people can use it only when they need to. Thanks for finding this!

1 Like

POSTED: Version 2026.02.14.41d

- Recent Fixes: Debug triggers, Template syntax errors, To-Do list output, Empty notifications, Button trigger fix
- Important Update: Real-Time Debug trigger happened with every entity change so the trigger code is now commented out. If you want to use it you will need to modify the code to add it back in. Change made since lower-powered systems would see high CPU use with this code running.

Hi, just installed this blueprint on a fully up to date HAOS install. When trying to create an automation of the blueprint, any time I try to save it, I get the following error which prevents me from doing so.

Message malformed: Entity IDs cannot be None for dictionary value @ data['entity_id']

I’m not doing anything wild with my configuration, and that’s a pretty vague error, so I’m really not sure what the problem is. Here’s my YAML config:

description: ""
use_blueprint:
  path: Ltek/offline-devices-report-ltek.yaml
  input:
    include_time: time_enabled
    time: "08:00:00"
    include_easy_notify: enable_easy_notify
    notify_device:
      - f8deb9cc45107b963ad757848decf426
    notify_interruption_level: active
    notify_data: []
    to_do_list: todo.home_maintenance
    notify_action_buttons: disabled_notify_action_buttons
    auto_add_to_do: enable_auto_add_to_do
alias: Offline Device Report

Any help would be appreciated.

Hey,
I just found out the field “Set Button Trigger” under Trigger Settings is mandatory. So, waiting for the fix, you could create a dummy button in the drop-down menu.

Good catch, thanks, that was the issue I was having. This should definitely be optional, not required.

fixed in 44c, posted a min ago

Can we have custom actions use the same settings as in “Device Notification” section? For example, I only want a notification if there are 1 or more offline devices.

  - choose:
      - alias: Perform the custom actions
        conditions:
          - condition: template
            value_template: '{{ include_custom_actions == "enable_custom_actions" }}'
          - condition: template
            value_template: '{{ include_easy_notify == "enable_easy_notify" or include_easy_notify == "enable_easy_okay_notify" }}'
          - condition: template
            value_template: '{{ trigger.id != "debug_trigger" }}'
        sequence: !input custom_actions

POSTED… Version 2026.02.23.45c

- ADDED: Custom Actions option to run only when offline devices are detected

@dropthemic pls test and LMK how it works

I reimported the blueprint to Version 2026.02.23.45c, but the automation still triggers whenever I view a trace. It even triggers when I navigate between traces. How do I get it to stop triggering all the time?

Update: I have realtime debugging off. Still triggers and causing my system to disconnect.

I found (and fixed in 46c) the issue… it was a harmless 85ms “trigger check” on every state change but no actions ran.

If you keep Debug code disabled, now nothing will run at all until the trigger occurs.

🚀 Version 2026.03.08.46c

- New: improved overall system performance (fewer entity checks when not needed)
- recent add: Custom Actions option to run only when offline devices are detected
- recent fix: Debug triggers, Template syntax errors, To-Do list output, Empty notifications, Button trigger fix

I reimported the blueprint to 46c. The trace navigation seemed to be fixed, but new errors occur instead. I think these new errors may prevent the automation from running at all.

Perhaps the blueprint might benefit from the suggestion made here?

I just retested all functions (auto-add to to-do, action buttons, filter out all devices, etc, etc) I cannot repro your error.

Restart HA and if you still get it send the Trace file and the Log Errors in text, not screenshots.

I restarted and tried again. The same problem reoccurs. Here is the full text from the log.

The normal log produces these errors:

Logger: homeassistant.components.automation
Source: helpers/condition.py:1358
integration: Automation ([documentation](https://www.home-assistant.io/integrations/automation), [issues](https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+automation%22))
First occurred: 2:12:30 AM (1 occurrence)
Last logged: 2:12:30 AM

Error evaluating condition in '⛔ Offline Devices Report and Notification': In 'condition' (item 1 of 2): In 'or' (item 1 of 3): In 'and' (item 3 of 4): In 'template' condition: UndefinedError: 'dict object' has no attribute 'event' In 'and' (item 4 of 4): In 'template' condition: UndefinedError: 'dict object' has no attribute 'event'
Logger: homeassistant.helpers.template
Source: helpers/template/__init__.py:1757
First occurred: 2:12:30 AM (2 occurrences)
Last logged: 2:12:30 AM

* Template variable error: 'dict object' has no attribute 'event' when rendering '{{ button_entity is not none and button_entity != "" and trigger.event.data.entity_id == button_entity }}'
* Template variable error: 'dict object' has no attribute 'event' when rendering '{{ trigger.event.data.new_state.state not in ["unknown", "unavailable", "off"] }}'

Here is the trace log:

2026-03-09 02:12:30.559 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'dict object' has no attribute 'event' when rendering '{{ button_entity is not none and button_entity != "" and trigger.event.data.entity_id == button_entity }}'
2026-03-09 02:12:30.561 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'dict object' has no attribute 'event' when rendering '{{ trigger.event.data.new_state.state not in ["unknown", "unavailable", "off"] }}'
2026-03-09 02:12:30.563 WARNING (MainThread) [homeassistant.components.automation] Error evaluating condition in '⛔ Offline Devices Report and Notification':
In 'condition' (item 1 of 2):
  In 'or' (item 1 of 3):
    In 'and' (item 3 of 4):
      In 'template' condition: UndefinedError: 'dict object' has no attribute 'event'
    In 'and' (item 4 of 4):
      In 'template' condition: UndefinedError: 'dict object' has no attribute 'event'

Here is the blueprint config:

description: ""
use_blueprint:
  path: Ltek/offline-devices-report-ltek.yaml
  input:
    include_button: enable_button_trigger
    include_time: time_enabled
    button_entity: input_button.check_offline_devices
    time: "19:00:00"
    include_easy_notify: enable_easy_notify
    notify_device:
      - 20e19ded0a7e9c74c186b58e5xxxxxx4
    auto_add_to_do: enable_auto_add_to_do
    notify_interruption_level: passive
    include_persistent_notification: enable_persistent_notification
    notify_action_buttons: disabled_notify_action_buttons
    include_hidden_entities: include_hidden
    include_debug: debug_disabled
    include_custom_actions: disable_custom_actions
    include_logbook_debug: logbook_disabled
    include_system_log_debug: systemlog_disabled
    include_debug_persistent_notification: persistent_disabled
1 Like