mirror of
https://github.com/kmein/niveum
synced 2026-03-17 02:31:09 +01:00
17 lines
345 B
Nix
17 lines
345 B
Nix
|
|
{
|
||
|
|
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;
|
||
|
|
};
|
||
|
|
};
|
||
|
|
}
|