This repository has been archived on 2023-06-10. You can view files and clone it, but cannot push or open issues or pull requests.
homeassistant-config/packages/climate/weather.yaml
darthsandmann 853c1d1716 updates
2022-08-30 18:42:25 +02:00

26 lines
1.0 KiB
YAML
Executable File

## -------------------------------------------------------------------------------------------------##
## pirateweather
## -------------------------------------------------------------------------------------------------##
## -------------------------------------------------------------------------------------------------##
## Wetter-Plattform
## -------------------------------------------------------------------------------------------------##
sensor:
- platform: template
sensors:
temperature_outside:
value_template: '{{ states.weather.openweathermap.attributes.temperature }}'
friendly_name: 'Outside Temperature'
unit_of_measurement: '°C'
temperature_today:
value_template: >
{{ state_attr('weather.home', 'forecast')[0].temperature }}
friendly_name: 'Max Temperature'
unit_of_measurement: '°C'
temperature_today_condition:
value_template: >
{{ state_attr('weather.home', 'forecast')[0].condition }}
friendly_name: 'Condition'
sun: