Replies: 3 comments 2 replies
-
Hi, There will be a a new attribute in the next release that can help you filter devices that are marked as Alert Down Hope this works |
Beta Was this translation helpful? Give feedback.
-
@jokob-sk that looks exactly like what I was looking for. Thanks a lot! |
Beta Was this translation helpful? Give feedback.
-
I just upgraded to the latest version and integrated it in Home Assistant. Works nicely :) I have added a Mushroom Chip which only appears when there is at least 1 device offline: And also an overview card using auto-entities to show which devices are offline (could use some more formatting and tweaking but it does the job): For anyone interested: type: custom:mushroom-chips-card
chips:
- type: conditional
conditions:
- condition: numeric_state
entity: sensor.netalertx_down
above: 0
chip:
type: template
icon: mdi:network-off-outline
icon_color: red
content: "Network devices down: {{ states('sensor.netalertx_down') }}"
entity: sensor.netalertx_down
Code for the overview of down devices: type: custom:auto-entities
card:
type: entities
title: Offline network devices
filter:
include:
- and:
- attributes:
alert_down: "1"
- state: not_home
exclude: [] |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have NetAlertX setup with MQTT integration to Home Assistant. I'm looking for a way to know which devices are 'down'? I might be overlooking something, but as far as I can see the data which is provided to HA regarding online/offline state is only
is_present
(andis_home
), which is not enough information to be able to make the distinction between offline and down devices?I would like to make an overview in HA for my down devices, using the auto-entities card (https://github.com/thomasloven/lovelace-auto-entities), but without devices that are expected to be regularly offline (such as smartphones etc).
Beta Was this translation helpful? Give feedback.
All reactions