mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-19 22:24:15 +01:00
Update prepare_ha.md
This commit is contained in:
@@ -109,14 +109,16 @@ template:
|
||||
data:
|
||||
type: daily
|
||||
target:
|
||||
entity_id: weather.k3ll3r # change to your weather entity in this line
|
||||
entity_id: weather.home # change to your weather entity
|
||||
response_variable: daily
|
||||
sensor:
|
||||
- name: Weather Forecast Daily
|
||||
unique_id: weather_forecast_daily
|
||||
state: "{{ now().isoformat() }}"
|
||||
state: "{{ states('weather.home') }}" # # change to your weather entity in this line
|
||||
attributes:
|
||||
forecast: "{{ daily['weather.k3ll3r'].forecast }}" # change to your weather entity in this line
|
||||
temperature: "{{ state_attr('weather.home', 'temperature') }}" # change to your weather entity
|
||||
temperature_unit: "{{ state_attr('weather.home', 'temperature_unit') }}" # change to your weather entity
|
||||
forecast: "{{ daily['weather.k3ll3r'].forecast }}" # change to your weather entity
|
||||
```
|
||||

|
||||
|
||||
|
||||
Reference in New Issue
Block a user