kloggy / HA-Irrigation-Version2

221 stars 55 forks source link

Sun2 `binary_sensor.above_horizon` changed to `binary_sensor.home_sun_above_horizon` in `item_settings_temperature_graph.yaml` and method to add changed. #90

Open genestealer opened 3 months ago

genestealer commented 3 months ago

SUN2 ### ISSUES

"Unused YAML configuration for the sun2 integration It's not possible to configure sun2 binary_sensor by adding platform: sun2 to the binary_sensor configuration. Please check the documentation for more information on how to set up this integration.

To resolve this:

Remove platform: sun2 occurences from the binary_sensor: configuration in your YAML configuration file. Restart Home Assistant. Example that should be removed:

binary_sensor:

  • platform: sun2"

image image

Fix:

  1. Add sun2 above horizon binary sensor via "Add Integration" after adding sun2 with HACS / manually.
  2. Remove if needed the old sun2 integration, eg:
    binary_sensor:
    - platform: sun2
    monitored_conditions:
      - elevation
  3. Add sun2 above_horizon via ia "Add Integration"
  4. Rename binary_sensor.above_horizon to binary_sensor.home_sun_above_horizon in item_settings_temperature_graph.yaml

image image image image image image