nixos-config/nixos/configs/pepe/home-assistant/weather.nix

19 lines
270 B
Nix

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