18 lines
270 B
Nix
18 lines
270 B
Nix
{ config, ... }: {
|
|
services.homeAssistantConfig = {
|
|
|
|
sensor = [
|
|
# Weather prediction
|
|
{
|
|
platform = "zamg";
|
|
name = "weather";
|
|
}
|
|
];
|
|
|
|
sun = { };
|
|
|
|
group.today.entities = [ "sensor.weather_temperature" "sun.sun" ];
|
|
|
|
};
|
|
|
|
}
|