Update prepare_ha.md

This commit is contained in:
Johannes
2024-04-02 18:12:48 +02:00
committed by GitHub
parent d94d937d77
commit 19b0fe4052

View File

@@ -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
```
![image](https://github.com/joBr99/nspanel-lovelace-ui/assets/29555657/41f21db3-a6e2-4e4f-8dab-b9351ecd23e5)