nixos-config/nixos/configs/pepe/home-assistant/weather.nix
2021-09-25 20:28:25 +02:00

18 lines
270 B
Nix

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