mirror of
https://github.com/kmein/niveum
synced 2026-03-16 18:21:07 +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;
|
|
};
|
|
};
|
|
}
|