Skip to content
FL550 edited this page Sep 20, 2024 · 5 revisions

FAQ


How to get daily max/min values

You have to insert this to your configuration.yaml and replace the [[REPLACE WITH YOUR WEATHER ENTITY]] with your station.

template:
  - trigger:
    - platform: time
      at: "00:02:00"
    - platform: homeassistant
      event: start
    - platform: event
      event_type: event_template_reloaded
    action:
      - service: weather.get_forecasts
        data:
          type: daily
        target:
          entity_id: [[REPLACE WITH YOUR WEATHER ENTITY]]
        response_variable: weather_data
    sensor:
      - name: "Max temp today"
        unique_id: max_temp_today
        state: >-
          {{ weather_data['[[REPLACE WITH YOUR WEATHER ENTITY]]'].forecast[0].temperature }}
        unit_of_measurement: "°C"
      - name: "Min temp today"
        unique_id: min_temp_today
        state: >-
          {{ weather_data['[[REPLACE WITH YOUR WEATHER ENTITY]]'].forecast[0].templow }}
        unit_of_measurement: "°C"

How to add a weather chart?

You first have to configure a new entity, which is done by adding this integration again. You can use this link to go directly to the configuration: Open your Home Assistant instance and start setting up this integration.

In the following dialogue select to configure a map. After you have completed the configuration you now have a new camera entity which provides the images.

To show the image on your dashboard, add the camera entity in a picture-entity card.

The precipitation radar is not updated correctly

To enable a smoother playback, you have to select "live" instead of "auto" for the camera_view in the picture-entity card.

Clone this wiki locally