mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-20 06:27:01 +01:00
Update prepare_ha.md
This commit is contained in:
@@ -109,14 +109,16 @@ template:
|
|||||||
data:
|
data:
|
||||||
type: daily
|
type: daily
|
||||||
target:
|
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
|
response_variable: daily
|
||||||
sensor:
|
sensor:
|
||||||
- name: Weather Forecast Daily
|
- name: Weather Forecast Daily
|
||||||
unique_id: weather_forecast_daily
|
unique_id: weather_forecast_daily
|
||||||
state: "{{ now().isoformat() }}"
|
state: "{{ states('weather.home') }}" # # change to your weather entity in this line
|
||||||
attributes:
|
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