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
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|