Skip to content

Remove support for configuring under binary_sensor & sensor

Choose a tag to compare

@pnbruckner pnbruckner released this 04 Mar 21:43
57c09a1

Since 3.0.0, configuring sun2 under binary_sensor & sensor has been deprecated. YAML configuration should be moved to sun2. This release removes that deprecated support. You can find more information about this here:

https://github.com/pnbruckner/ha-sun2/tree/3.0.0#converting-from-platform-configuration

IMPORTANT: If you still have sun2 configured under sensor or binary_sensor in your YAML configuration, you should change it to the new sun2 format BEFORE upgrading this custom component.

Also note that the sensor that used to be called sunrise is now rising, and sunset is now setting.

Also, make documentation more explicit that the rising sensor indicates sunrise, and setting indicates sunset.