From a7139807e6e25bfbe4744fd927ec72728f8e975b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Thu, 12 Sep 2024 16:51:57 +0300 Subject: [PATCH] hass: +prometheus --- modules/services/hass/default.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/modules/services/hass/default.nix b/modules/services/hass/default.nix index f9839af..f572f04 100644 --- a/modules/services/hass/default.nix +++ b/modules/services/hass/default.nix @@ -36,6 +36,7 @@ in "webostv" "daikin" "ipp" + "prometheus" ]; config = { default_config = { }; @@ -55,6 +56,20 @@ in wake_on_lan = { }; + prometheus = { + namespace = "hass"; + filter = { + include_entity_globs = [ + "media_player.*" + "sensor.hp_color_laser*" + + "sensor.daikin*" + "switch.daikin*" + "climate.daikin*" + ]; + }; + }; + # requires a restore from backup "automation ui" = "!include automations.yaml"; "automation yaml" = [