mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
service/home-assistant: forward notification
This commit is contained in:
parent
10ed6d0ec4
commit
fc5dcb84a1
1 changed files with 7 additions and 0 deletions
|
@ -122,6 +122,13 @@ in
|
|||
# }
|
||||
# ];
|
||||
|
||||
my.services.prometheus.rules = {
|
||||
homeassistant = {
|
||||
condition = ''homeassistant_entity_available{domain="persistent_notification", entity!~"persistent_notification.http_login|persistent_notification.recorder_database_migration"} >= 0'';
|
||||
description = "homeassistant notification {{$labels.entity}} ({{$labels.friendly_name}}): {{$value}}";
|
||||
};
|
||||
};
|
||||
|
||||
my.services.nginx.virtualHosts = [
|
||||
{
|
||||
subdomain = "automation";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue