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

27 lines
1.0 KiB
YAML
Raw Normal View History

2022-07-29 01:05:27 +00:00
## -------------------------------------------------------------------------------------------------##
2022-07-31 00:46:27 +00:00
## pirateweather
2022-07-29 01:05:27 +00:00
## -------------------------------------------------------------------------------------------------##
## -------------------------------------------------------------------------------------------------##
## Wetter-Plattform
## -------------------------------------------------------------------------------------------------##
sensor:
- platform: template
sensors:
temperature_outside:
2022-08-11 19:07:23 +00:00
value_template: '{{ states.weather.openweathermap.attributes.temperature }}'
2022-08-02 12:03:44 +00:00
friendly_name: 'Outside Temperature'
2022-08-09 15:53:26 +00:00
unit_of_measurement: '°C'
2022-08-11 19:07:23 +00:00
temperature_today:
2022-08-09 15:53:26 +00:00
value_template: >
2022-08-11 19:07:23 +00:00
{{ state_attr('weather.home', 'forecast')[0].temperature }}
2022-08-09 15:53:26 +00:00
friendly_name: 'Max Temperature'
unit_of_measurement: '°C'
temperature_today_condition:
value_template: >
2022-08-11 19:07:23 +00:00
{{ state_attr('weather.home', 'forecast')[0].condition }}
friendly_name: 'Condition'
sun: