Files
hassos_config/depr_packages/ttgo_display.yaml
2024-04-10 21:12:15 +02:00

28 lines
774 B
YAML

---
trigger:
platform: time_pattern
minutes: "/1"
sensor:
- name: ttgo Display Data
unique_id: ttgo_display_data
icon: ios:display-2
availability: true
state: "OK"
attributes:
temperature: >
{{ state_attr('weather.forecast_home', 'temperature') | round }}
temperature_unit: >
{{ state_attr('weather.forecast_home', 'temperature_unit')}}
wind_speed: >
{{ state_attr('weather.forecast_home', 'wind_speed')}}
weather_condition_0: >
{{ state_attr('weather.forecast_home', 'forecast')[0].condition }}
netto_power: >
{{ states('sensor.dsmr_reading_electricity_currently_delivered') * 1000}}
# humidity: 98
# pressure: 991.4
# pressure_unit: hPa
# wind_bearing: 75
# wind_speed: 15.8