updates
This commit is contained in:
26
packages/climate/weather.yaml
Executable file
26
packages/climate/weather.yaml
Executable file
@ -0,0 +1,26 @@
|
||||
## -------------------------------------------------------------------------------------------------##
|
||||
## 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:
|
Reference in New Issue
Block a user