1
0
mirror of https://github.com/kmein/niveum synced 2026-03-30 09:11:10 +02:00

feat(hass): init

This commit is contained in:
2020-10-21 00:36:10 +02:00
parent b49bedb9bc
commit 8a887226e7
7 changed files with 363 additions and 0 deletions

16
systems/toum/hass/lib.nix Normal file
View File

@@ -0,0 +1,16 @@
{
triggers = {
night = {
platform = "numeric_state";
entity_id = "sun.sun";
value_template = "{{ state.attributes.elevation }}";
below = -4.0;
};
day = {
platform = "numeric_state";
entity_id = "sun.sun";
value_template = "{{ state.attributes.elevation }}";
above = 0;
};
};
}