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

19 lines
270 B
Nix
Raw Normal View History

2020-04-12 13:36:15 +02:00
{ config, ... }: {
services.homeAssistantConfig = {
sensor = [
# Weather prediction
{
platform = "zamg";
name = "weather";
}
];
2020-04-12 14:04:15 +02:00
sun = { };
group.today.entities = [ "sensor.weather_temperature" "sun.sun" ];
2020-04-12 13:36:15 +02:00
};
}