@@ -119,6 +119,10 @@ recorder:
|
|||||||
- sensor.*_rssi
|
- sensor.*_rssi
|
||||||
- sensor.weatherflow_hub*
|
- sensor.weatherflow_hub*
|
||||||
- sensor.internet_round_trip*
|
- sensor.internet_round_trip*
|
||||||
|
- sensor.*_monitor_type
|
||||||
|
- sensor.*_certificate_expiry
|
||||||
|
- sensor.*_monitored_url
|
||||||
|
- sensor.*_response_time
|
||||||
entities:
|
entities:
|
||||||
- sensor.avg_ping
|
- sensor.avg_ping
|
||||||
- sensor.max_ping
|
- sensor.max_ping
|
||||||
@@ -280,6 +284,11 @@ influxdb:
|
|||||||
- binary_sensor.asus_laptop*
|
- binary_sensor.asus_laptop*
|
||||||
- sensor.*ashland*
|
- sensor.*ashland*
|
||||||
- sensor.*kasx*
|
- sensor.*kasx*
|
||||||
|
- sensor.*_monitor_type
|
||||||
|
- sensor.*_certificate_expiry
|
||||||
|
- sensor.*_monitored_url
|
||||||
|
- sensor.*_response_time
|
||||||
|
- sensor.*_status
|
||||||
entities:
|
entities:
|
||||||
- media_player.living_room_tv
|
- media_player.living_room_tv
|
||||||
- media_player.basement_tv
|
- media_player.basement_tv
|
||||||
@@ -452,6 +461,11 @@ prometheus:
|
|||||||
- binary_sensor.asus_laptop*
|
- binary_sensor.asus_laptop*
|
||||||
- sensor.*ashland*
|
- sensor.*ashland*
|
||||||
- sensor.*kasx*
|
- sensor.*kasx*
|
||||||
|
- sensor.*_monitor_type
|
||||||
|
- sensor.*_certificate_expiry
|
||||||
|
- sensor.*_monitored_url
|
||||||
|
- sensor.*_response_time
|
||||||
|
- sensor.*_status
|
||||||
include_entities:
|
include_entities:
|
||||||
- media_player.living_room_tv
|
- media_player.living_room_tv
|
||||||
- media_player.basement_tv
|
- media_player.basement_tv
|
||||||
|
|||||||
@@ -450,18 +450,19 @@
|
|||||||
unit_of_measurement: ''
|
unit_of_measurement: ''
|
||||||
icon: mdi:close-network-outline
|
icon: mdi:close-network-outline
|
||||||
state: >
|
state: >
|
||||||
{% set uptimekuma = states.binary_sensor |
|
{% set uptimekuma = states.sensor |
|
||||||
selectattr('entity_id','in',integration_entities('uptime_kuma')) |
|
selectattr('entity_id','in',integration_entities('192.168.1.111')) |
|
||||||
selectattr('state','eq','off') |
|
selectattr('state','eq','down') |
|
||||||
map(attribute='attributes.friendly_name') |
|
map(attribute='attributes.friendly_name') |
|
||||||
list %}
|
list %}
|
||||||
{{ uptimekuma | count | int }}
|
{{ uptimekuma | count | int }}
|
||||||
attributes:
|
attributes:
|
||||||
services: >
|
services: >
|
||||||
{% set uptimekuma = states.binary_sensor |
|
{% set uptimekuma = states.sensor |
|
||||||
selectattr('entity_id','in',integration_entities('uptime_kuma')) |
|
selectattr('entity_id','in',integration_entities('192.168.1.111')) |
|
||||||
selectattr('state','eq','off') |
|
selectattr('state','eq','down') |
|
||||||
map(attribute='attributes.friendly_name') |
|
map(attribute='attributes.friendly_name') |
|
||||||
|
map('regex_replace', ' Status$', '') |
|
||||||
list %}
|
list %}
|
||||||
{{ uptimekuma | join(', ') }}
|
{{ uptimekuma | join(', ') }}
|
||||||
- name: Media Server Viewer Health
|
- name: Media Server Viewer Health
|
||||||
|
|||||||
Reference in New Issue
Block a user