From 586ff0a72d4d3c97a6042fe47dc0c441e7288a27 Mon Sep 17 00:00:00 2001 From: lassulus Date: Sun, 7 Jun 2020 13:06:25 +0200 Subject: l hass: allow from wiregrill --- lass/2configs/hass/default.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'lass/2configs/hass') diff --git a/lass/2configs/hass/default.nix b/lass/2configs/hass/default.nix index 639ba3d3f..a48c61a69 100644 --- a/lass/2configs/hass/default.nix +++ b/lass/2configs/hass/default.nix @@ -14,6 +14,7 @@ with import ./lib.nix { inherit lib; }; { predicate = "-i docker0 -p tcp --dport 1883"; target = "ACCEPT"; } # mosquitto { predicate = "-i int0 -p tcp --dport 8123"; target = "ACCEPT"; } # hass { predicate = "-i retiolum -p tcp --dport 8123"; target = "ACCEPT"; } # hass + { predicate = "-i wiregrill -p tcp --dport 8123"; target = "ACCEPT"; } # hass ]; services.home-assistant = { -- cgit v1.2.3 From 4242c2ad0eff7a9bfaae456050232e745a2ac05c Mon Sep 17 00:00:00 2001 From: lassulus Date: Sun, 7 Jun 2020 13:06:54 +0200 Subject: l hass: lower dark sensitivity --- lass/2configs/hass/lib.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lass/2configs/hass') diff --git a/lass/2configs/hass/lib.nix b/lass/2configs/hass/lib.nix index 555cfae28..9281a19ec 100644 --- a/lass/2configs/hass/lib.nix +++ b/lass/2configs/hass/lib.nix @@ -99,7 +99,7 @@ rec { conditions = [ { condition = "template"; - value_template = "{{ trigger.to_state.attributes.illuminance < 13000 }}"; + value_template = "{{ trigger.to_state.attributes.illuminance < 7500 }}"; } { condition = "template"; -- cgit v1.2.3