Skip to content

sunrise (None) and sunset (None) - Homeassistant Core 2026.8.1 #148

Description

@dachickenuser

System Health details

Image

Checklist

  • I have enabled debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of any previous issues..

Describe the issue

Nothing working since just the main sensor values (sun azimuth and elevation) are not read.
My standard Sun integration did not provide the sensors out of the box so I had to add them as helpers. These are giving plausible values now and they are given in the configuration correctly when adding a new device, but the integration does not like to read them for some reason.

Via HACS I downloaded 0.13.1 first and then 0.14.0-RC8 - issue on both versions. But it is interesting that the device page always tells 0.13.0

Image Image Image Image Image

Reproduction steps

Well, just adding device within Shadow Control

Debug logs

20:49:30.301 INFO [shadow_control.ctrl_rollo] Debug log for instance 'Ctrl Rollo Arbeitszimmer' activated.
20:49:30.302 DEBUG [shadow_control.ctrl_rollo] DEBUG TEST: Debug logging is working
20:49:30.302 INFO [shadow_control.ctrl_rollo] Own logfile for instance 'Ctrl Rollo Arbeitszimmer' disabled.
20:49:30.302 DEBUG [shadow_control.ctrl_rollo] Sanitized instance name from Ctrl Rollo Arbeitszimmer to ctrl_rollo
20:49:30.302 DEBUG [shadow_control.ctrl_rollo] Entity 'sensor.sun_sun_elevation' is unavailable or unknown. Using default: 0.0
20:49:30.302 DEBUG [shadow_control.ctrl_rollo] Entity 'sensor.sun_sun_azimuth' is unavailable or unknown. Using default: 0.0
20:49:30.302 DEBUG [shadow_control.ctrl_rollo] Movement restriction height entity NOT configured or set to 'none', using value MovementRestricted.NO_RESTRICTION from internal entity
20:49:30.303 DEBUG [shadow_control.ctrl_rollo] Movement restriction angle entity NOT configured or set to 'none', using value MovementRestricted.NO_RESTRICTION from internal entity
20:49:30.303 DEBUG [shadow_control.ctrl_rollo] Manager initialized for target: ['cover.gastezimmer_rollo'].
20:49:30.303 INFO [shadow_control.ctrl_rollo] === Starting manager lifecycle ===
20:49:30.303 DEBUG [shadow_control.ctrl_rollo] Registering listeners...
20:49:30.303 DEBUG [shadow_control.ctrl_rollo] Home Assistant not yet running, registering startup listener.
20:49:30.303 DEBUG [shadow_control.ctrl_rollo] Tracking input entities: ['sensor.gw2000a_solar_lux', 'sensor.sun_sun_elevation', 'sensor.sun_sun_azimuth', 'switch.ctrl_rollo_sperren', 'switch.ctrl_rollo_sperren_mit_zwangsposition']
20:49:30.303 DEBUG [shadow_control.ctrl_rollo] Tracking target cover entity: ['cover.gastezimmer_rollo']
20:49:30.303 DEBUG [shadow_control.ctrl_rollo] Listeners registered.
[..]
20:49:31.839 DEBUG [shadow_control.ctrl_rollo] =====================================================================
20:49:31.839 DEBUG [shadow_control.ctrl_rollo] Calculating and applying cover position, triggered by event: {'entity_id': 'sensor.sun_sun_azimuth', 'old_state': None, 'new_state': <state sensor.sun_sun_azimuth=295.67; state_class=measurement_angle, unit_of_measurement=°, friendly_name=Sun Sun_azimuth @ 2026-08-13T20:49:31.839312+02:00>}
20:49:31.842 DEBUG [shadow_control.ctrl_rollo] Static key 'facade_slat_width_static' not found in options. Using default: 95.0
20:49:31.842 DEBUG [shadow_control.ctrl_rollo] Static key 'facade_slat_distance_static' not found in options. Using default: 67.0
20:49:31.842 DEBUG [shadow_control.ctrl_rollo] Static key 'facade_slat_angle_offset_static' not found in options. Using default: 0.0
20:49:31.842 DEBUG [shadow_control.ctrl_rollo] Static key 'facade_slat_min_angle_static' not found in options. Using default: 0.0
20:49:31.842 DEBUG [shadow_control.ctrl_rollo] Static key 'facade_shutter_stepping_angle_static' not found in options. Using default: 10.0
20:49:31.842 DEBUG [shadow_control.ctrl_rollo] Static key 'facade_modification_tolerance_angle_static' not found in options. Using default: 0.0
20:49:31.842 DEBUG [shadow_control.ctrl_rollo] Entity 'sensor.gw2000a_solar_lux' is unavailable or unknown. Using default: 0.0
20:49:31.842 DEBUG [shadow_control.ctrl_rollo] Entity 'sensor.sun_sun_elevation' is unavailable or unknown. Using default: 0.0
20:49:31.842 DEBUG [shadow_control.ctrl_rollo] Attribute 'azimuth' not found in 'sensor.sun_sun_azimuth', using state: 295.67
20:49:31.842 DEBUG [shadow_control.ctrl_rollo] Calculating overall lock state based on lock=False, lock_with_position=False, auto_lock=False
20:49:31.842 DEBUG [shadow_control.ctrl_rollo] Movement restriction height entity NOT configured or set to 'none', using value MovementRestricted.NO_RESTRICTION from internal entity
20:49:31.842 DEBUG [shadow_control.ctrl_rollo] Movement restriction angle entity NOT configured or set to 'none', using value MovementRestricted.NO_RESTRICTION from internal entity
20:49:31.843 DEBUG [shadow_control.ctrl_rollo] Winter: 30000.0, Summer: 50000.0, Min: 20000.0
20:49:31.843 DEBUG [shadow_control.ctrl_rollo] Low sun elevation threshold: 0.0°, low sun brightness threshold: 3500.0
20:49:31.843 DEBUG [shadow_control.ctrl_rollo] Sun times before normalization: sunrise=2026-08-14 03:57:25+00:00 (local: 2026-08-14 05:57:25+02:00), sunset=2026-08-14 18:46:22+00:00 (local: 2026-08-14 20:46:22+02:00), now=20:49:31.843217+02:00
20:49:31.843 DEBUG [shadow_control.ctrl_rollo] Sunrise is tomorrow (2026-08-14), adjusting to today by subtracting 1 day
20:49:31.843 DEBUG [shadow_control.ctrl_rollo] Sunset is tomorrow (2026-08-14), adjusting to today by subtracting 1 day
20:49:31.843 DEBUG [shadow_control.ctrl_rollo] Sun times after normalization: sunrise=05:57:25+02:00, sunset=20:46:22+02:00
20:49:31.843 DEBUG [shadow_control.ctrl_rollo] Seasonal calculation: next solstice 2027-06-21, diff_days=311, brightness=43989
20:49:31.843 DEBUG [shadow_control.ctrl_rollo] Daily brightness threshold (seasonal): 43989 lux
20:49:31.843 DEBUG [shadow_control.ctrl_rollo] Outside sun hours (05:57:25 - 20:46:22), returning minimal: 20000.0
20:49:31.844 DEBUG [shadow_control.ctrl_rollo] Updated input values:
 -> Facade config: azimuth=245.0, offset_sun_in=-90.0, offset_sun_out=90.0, elevation_sun_min=0.0, elevation_sun_max=90.0, slat_width=95.0, slat_distance=67.0, slat_angle_offset=0.0, slat_min_angle=0.0, shutter_stepping_height=5.0, shutter_stepping_angle=10.0, shutter_type=ShutterType.MODE3, light_strip_width=0.0, shutter_height=1000.0, neutral_pos_height=0.0, neutral_pos_angle=0, max_movement_duration=30.0, modification_tolerance_height=3.0, modification_tolerance_angle=0.0,
 -> Dynamic config: brightness=0.0, brightness_dawn=-1.0, sun_elevation=0.0, sun_azimuth=295.67, shutter_current_height=-1.0, shutter_current_angle=-1.0, lock_integration=False, lock_integration_with_position=False, lock_height=0.0, lock_angle=0, movement_restriction_height=MovementRestricted.NO_RESTRICTION, movement_restriction_angle=MovementRestricted.NO_RESTRICTION, enforce_positioning_entity=None, unlock_integration_entity=None,
 -> Shadow config: enabled=False, brightness_threshold_winter=30000.0, brightness_threshold_summer=50000.0, brightness_threshold_minimal=20000.0, after_seconds=15.0, shutter_max_height=100.0, shutter_max_angle=100, shutter_look_through_seconds=15.0, shutter_open_seconds=15.0, shutter_look_through_angle=50, height_after_sun=0.0, angle_after_sun=0, low_sun_elevation_threshold=0.0, low_sun_brightness_threshold=3500.0,
 -> Dawn config: enabled=False, brightness_threshold=500.0, after_seconds=15.0, shutter_max_height=100.0, shutter_max_angle=100, shutter_look_through_seconds=15.0, shutter_open_seconds=15.0, shutter_look_through_angle=50, height_after_dawn=0.0, angle_after_dawn=0, open_not_before=None, close_not_later_than=None
20:49:31.844 DEBUG [shadow_control.ctrl_rollo] State change for entity: sensor.sun_sun_azimuth
20:49:31.844 DEBUG [shadow_control.ctrl_rollo]   Old state: None
20:49:31.844 DEBUG [shadow_control.ctrl_rollo]   New state: 295.67
20:49:31.844 DEBUG [shadow_control.ctrl_rollo] Checking if facade is in sun
20:49:31.844 DEBUG [shadow_control.ctrl_rollo] sun_entry_angle: 155.0, sun_exit_angle: 335.0, sun_exit_angle_calc: 180.0, azimuth_calc: 140.67000000000002
20:49:31.844 DEBUG [shadow_control.ctrl_rollo] Current sun position (a:e): 295.67°:0.0°, facade: 245.0°
20:49:31.844 DEBUG [shadow_control.ctrl_rollo] Virtual deep and height of the sun against the facade: 0.6337859675728784, 0.0, effektive Elevation: 0.0
20:49:31.844 DEBUG [shadow_control.ctrl_rollo] Finished facade check:
 -> Real azimuth 295.67° and facade at 245.0° -> IN sun (from 155.0° to 335.0°)
 -> Effective elevation ---° for given elevation of 0.0° -> NOT IN min-max-range (0.0°-90.0°)
20:49:31.844 DEBUG [shadow_control.ctrl_rollo] Current shutter state (before processing): NEUTRAL (0)
20:49:31.844 DEBUG [shadow_control.ctrl_rollo] Handle NEUTRAL
20:49:31.844 DEBUG [shadow_control.ctrl_rollo] Checking if facade is in sun
20:49:31.844 DEBUG [shadow_control.ctrl_rollo] sun_entry_angle: 155.0, sun_exit_angle: 335.0, sun_exit_angle_calc: 180.0, azimuth_calc: 140.67000000000002
20:49:31.844 DEBUG [shadow_control.ctrl_rollo] Current sun position (a:e): 295.67°:0.0°, facade: 245.0°
20:49:31.844 DEBUG [shadow_control.ctrl_rollo] Virtual deep and height of the sun against the facade: 0.6337859675728784, 0.0, effektive Elevation: 0.0
20:49:31.844 DEBUG [shadow_control.ctrl_rollo] Finished facade check:
 -> Real azimuth 295.67° and facade at 245.0° -> IN sun (from 155.0° to 335.0°)
 -> Effective elevation ---° for given elevation of 0.0° -> NOT IN min-max-range (0.0°-90.0°)
20:49:31.844 DEBUG [shadow_control.ctrl_rollo] Starting _position_shutter with target height 0.00% and angle 0.00% (is_initial_run: False, lock_state: UNLOCKED)
20:49:31.844 DEBUG [shadow_control.ctrl_rollo] Canceling timer.
20:49:31.844 DEBUG [shadow_control.ctrl_rollo] Skipping physical output: HA startup not yet complete (startup_restore_complete=False, hass.is_running=False). Waiting for homeassistant_started event before allowing movement.
20:49:31.845 DEBUG [shadow_control.ctrl_rollo] State 0 (NEUTRAL): Moving shutter to neutral position (0.0%, 0%).
20:49:31.845 DEBUG [shadow_control.ctrl_rollo] New shutter state after processing: NEUTRAL (0)
20:49:31.849 DEBUG [shadow_control.ctrl_rollo] State change detected for sensor.sun_sun_elevation. Old state: None, New state: -0.83.
20:49:31.849 DEBUG [shadow_control.ctrl_rollo] Input entity 'sensor.sun_sun_elevation' changed. Triggering recalculation.
20:49:31.849 DEBUG [shadow_control.ctrl_rollo] =====================================================================
20:49:31.849 DEBUG [shadow_control.ctrl_rollo] Calculating and applying cover position, triggered by event: {'entity_id': 'sensor.sun_sun_elevation', 'old_state': None, 'new_state': <state sensor.sun_sun_elevation=-0.83; state_class=measurement_angle, unit_of_measurement=°, friendly_name=Sun Sun_elevation @ 2026-08-13T20:49:31.848794+02:00>}
20:49:31.849 DEBUG [shadow_control.ctrl_rollo] Static key 'facade_slat_width_static' not found in options. Using default: 95.0
20:49:31.849 DEBUG [shadow_control.ctrl_rollo] Static key 'facade_slat_distance_static' not found in options. Using default: 67.0
20:49:31.849 DEBUG [shadow_control.ctrl_rollo] Static key 'facade_slat_angle_offset_static' not found in options. Using default: 0.0
20:49:31.849 DEBUG [shadow_control.ctrl_rollo] Static key 'facade_slat_min_angle_static' not found in options. Using default: 0.0
20:49:31.849 DEBUG [shadow_control.ctrl_rollo] Static key 'facade_shutter_stepping_angle_static' not found in options. Using default: 10.0
20:49:31.849 DEBUG [shadow_control.ctrl_rollo] Static key 'facade_modification_tolerance_angle_static' not found in options. Using default: 0.0
20:49:31.849 DEBUG [shadow_control.ctrl_rollo] Entity 'sensor.gw2000a_solar_lux' is unavailable or unknown. Using default: 0.0
20:49:31.849 DEBUG [shadow_control.ctrl_rollo] Attribute 'elevation' not found in 'sensor.sun_sun_elevation', using state: -0.83
20:49:31.849 DEBUG [shadow_control.ctrl_rollo] Attribute 'azimuth' not found in 'sensor.sun_sun_azimuth', using state: 295.67
20:49:31.849 DEBUG [shadow_control.ctrl_rollo] Calculating overall lock state based on lock=False, lock_with_position=False, auto_lock=False
20:49:31.849 DEBUG [shadow_control.ctrl_rollo] Movement restriction height entity NOT configured or set to 'none', using value MovementRestricted.NO_RESTRICTION from internal entity
20:49:31.849 DEBUG [shadow_control.ctrl_rollo] Movement restriction angle entity NOT configured or set to 'none', using value MovementRestricted.NO_RESTRICTION from internal entity
20:49:31.850 DEBUG [shadow_control.ctrl_rollo] Winter: 30000.0, Summer: 50000.0, Min: 20000.0
20:49:31.850 DEBUG [shadow_control.ctrl_rollo] Low sun elevation threshold: 0.0°, low sun brightness threshold: 3500.0
20:49:31.850 DEBUG [shadow_control.ctrl_rollo] Sun times before normalization: sunrise=2026-08-14 03:57:25+00:00 (local: 2026-08-14 05:57:25+02:00), sunset=2026-08-14 18:46:22+00:00 (local: 2026-08-14 20:46:22+02:00), now=20:49:31.850237+02:00
20:49:31.850 DEBUG [shadow_control.ctrl_rollo] Sunrise is tomorrow (2026-08-14), adjusting to today by subtracting 1 day
20:49:31.850 DEBUG [shadow_control.ctrl_rollo] Sunset is tomorrow (2026-08-14), adjusting to today by subtracting 1 day
20:49:31.850 DEBUG [shadow_control.ctrl_rollo] Sun times after normalization: sunrise=05:57:25+02:00, sunset=20:46:22+02:00
20:49:31.850 DEBUG [shadow_control.ctrl_rollo] Seasonal calculation: next solstice 2027-06-21, diff_days=311, brightness=43989
20:49:31.850 DEBUG [shadow_control.ctrl_rollo] Daily brightness threshold (seasonal): 43989 lux
20:49:31.850 DEBUG [shadow_control.ctrl_rollo] Outside sun hours (05:57:25 - 20:46:22), returning minimal: 20000.0
20:49:31.851 DEBUG [shadow_control.ctrl_rollo] Updated input values:
 -> Facade config: azimuth=245.0, offset_sun_in=-90.0, offset_sun_out=90.0, elevation_sun_min=0.0, elevation_sun_max=90.0, slat_width=95.0, slat_distance=67.0, slat_angle_offset=0.0, slat_min_angle=0.0, shutter_stepping_height=5.0, shutter_stepping_angle=10.0, shutter_type=ShutterType.MODE3, light_strip_width=0.0, shutter_height=1000.0, neutral_pos_height=0.0, neutral_pos_angle=0, max_movement_duration=30.0, modification_tolerance_height=3.0, modification_tolerance_angle=0.0,
 -> Dynamic config: brightness=0.0, brightness_dawn=-1.0, sun_elevation=-0.83, sun_azimuth=295.67, shutter_current_height=-1.0, shutter_current_angle=-1.0, lock_integration=False, lock_integration_with_position=False, lock_height=0.0, lock_angle=0, movement_restriction_height=MovementRestricted.NO_RESTRICTION, movement_restriction_angle=MovementRestricted.NO_RESTRICTION, enforce_positioning_entity=None, unlock_integration_entity=None,
 -> Shadow config: enabled=False, brightness_threshold_winter=30000.0, brightness_threshold_summer=50000.0, brightness_threshold_minimal=20000.0, after_seconds=15.0, shutter_max_height=100.0, shutter_max_angle=100, shutter_look_through_seconds=15.0, shutter_open_seconds=15.0, shutter_look_through_angle=50, height_after_sun=0.0, angle_after_sun=0, low_sun_elevation_threshold=0.0, low_sun_brightness_threshold=3500.0,
 -> Dawn config: enabled=False, brightness_threshold=500.0, after_seconds=15.0, shutter_max_height=100.0, shutter_max_angle=100, shutter_look_through_seconds=15.0, shutter_open_seconds=15.0, shutter_look_through_angle=50, height_after_dawn=0.0, angle_after_dawn=0, open_not_before=None, close_not_later_than=None
20:49:31.851 DEBUG [shadow_control.ctrl_rollo] State change for entity: sensor.sun_sun_elevation
20:49:31.851 DEBUG [shadow_control.ctrl_rollo]   Old state: None
20:49:31.851 DEBUG [shadow_control.ctrl_rollo]   New state: -0.83
20:49:31.851 DEBUG [shadow_control.ctrl_rollo] Checking if facade is in sun
20:49:31.851 DEBUG [shadow_control.ctrl_rollo] sun_entry_angle: 155.0, sun_exit_angle: 335.0, sun_exit_angle_calc: 180.0, azimuth_calc: 140.67000000000002
20:49:31.851 DEBUG [shadow_control.ctrl_rollo] Current sun position (a:e): 295.67°:-0.83°, facade: 245.0°
20:49:31.851 DEBUG [shadow_control.ctrl_rollo] Virtual deep and height of the sun against the facade: 0.6337859675728784, -0.01448724619314349, effektive Elevation: -1.309453952763389
20:49:31.851 DEBUG [shadow_control.ctrl_rollo] Finished facade check:
 -> Real azimuth 295.67° and facade at 245.0° -> IN sun (from 155.0° to 335.0°)
 -> Effective elevation -1.3° for given elevation of -0.8° -> NOT IN min-max-range (0.0°-90.0°)
20:49:31.851 DEBUG [shadow_control.ctrl_rollo] Current shutter state (before processing): NEUTRAL (0)
20:49:31.851 DEBUG [shadow_control.ctrl_rollo] Handle NEUTRAL
20:49:31.851 DEBUG [shadow_control.ctrl_rollo] Checking if facade is in sun
20:49:31.852 DEBUG [shadow_control.ctrl_rollo] sun_entry_angle: 155.0, sun_exit_angle: 335.0, sun_exit_angle_calc: 180.0, azimuth_calc: 140.67000000000002
20:49:31.852 DEBUG [shadow_control.ctrl_rollo] Current sun position (a:e): 295.67°:-0.83°, facade: 245.0°
20:49:31.852 DEBUG [shadow_control.ctrl_rollo] Virtual deep and height of the sun against the facade: 0.6337859675728784, -0.01448724619314349, effektive Elevation: -1.309453952763389
20:49:31.852 DEBUG [shadow_control.ctrl_rollo] Finished facade check:
 -> Real azimuth 295.67° and facade at 245.0° -> IN sun (from 155.0° to 335.0°)
 -> Effective elevation -1.3° for given elevation of -0.8° -> NOT IN min-max-range (0.0°-90.0°)
20:49:31.852 DEBUG [shadow_control.ctrl_rollo] Starting _position_shutter with target height 0.00% and angle 0.00% (is_initial_run: False, lock_state: UNLOCKED)
20:49:31.852 DEBUG [shadow_control.ctrl_rollo] Canceling timer.
20:49:31.852 DEBUG [shadow_control.ctrl_rollo] Skipping physical output: HA startup not yet complete (startup_restore_complete=False, hass.is_running=False). Waiting for homeassistant_started event before allowing movement.
20:49:31.852 DEBUG [shadow_control.ctrl_rollo] State 0 (NEUTRAL): Moving shutter to neutral position (0.0%, 0%).
20:49:31.852 DEBUG [shadow_control.ctrl_rollo] New shutter state after processing: NEUTRAL (0)
[..]
20:49:51.528 DEBUG [shadow_control.ctrl_rollo] State change detected for sensor.gw2000a_solar_lux. Old state: None, New state: unavailable.
20:49:51.528 DEBUG [shadow_control.ctrl_rollo] Input entity 'sensor.gw2000a_solar_lux' changed. Triggering recalculation.
20:49:51.528 DEBUG [shadow_control.ctrl_rollo] =====================================================================
20:49:51.528 DEBUG [shadow_control.ctrl_rollo] Calculating and applying cover position, triggered by event: {'entity_id': 'sensor.gw2000a_solar_lux', 'old_state': None, 'new_state': <state sensor.gw2000a_solar_lux=unavailable; restored=True, state_class=measurement, device_class=illuminance, friendly_name=GW2000A Solar Lux, supported_features=0, unit_of_measurement=lx @ 2026-08-13T20:49:51.502429+02:00>}
20:49:51.529 DEBUG [shadow_control.ctrl_rollo] Static key 'facade_slat_width_static' not found in options. Using default: 95.0
20:49:51.529 DEBUG [shadow_control.ctrl_rollo] Static key 'facade_slat_distance_static' not found in options. Using default: 67.0
20:49:51.529 DEBUG [shadow_control.ctrl_rollo] Static key 'facade_slat_angle_offset_static' not found in options. Using default: 0.0
20:49:51.529 DEBUG [shadow_control.ctrl_rollo] Static key 'facade_slat_min_angle_static' not found in options. Using default: 0.0
20:49:51.529 DEBUG [shadow_control.ctrl_rollo] Static key 'facade_shutter_stepping_angle_static' not found in options. Using default: 10.0
20:49:51.529 DEBUG [shadow_control.ctrl_rollo] Static key 'facade_modification_tolerance_angle_static' not found in options. Using default: 0.0
20:49:51.529 DEBUG [shadow_control.ctrl_rollo] Entity 'sensor.gw2000a_solar_lux' is unavailable or unknown. Using default: 0.0
20:49:51.529 DEBUG [shadow_control.ctrl_rollo] Attribute 'elevation' not found in 'sensor.sun_sun_elevation', using state: -1.0
20:49:51.529 DEBUG [shadow_control.ctrl_rollo] Attribute 'azimuth' not found in 'sensor.sun_sun_azimuth', using state: 295.86
20:49:51.529 DEBUG [shadow_control.ctrl_rollo] Calculating overall lock state based on lock=False, lock_with_position=False, auto_lock=False
20:49:51.529 DEBUG [shadow_control.ctrl_rollo] Movement restriction height entity NOT configured or set to 'none', using value MovementRestricted.NO_RESTRICTION from internal entity
20:49:51.529 DEBUG [shadow_control.ctrl_rollo] Movement restriction angle entity NOT configured or set to 'none', using value MovementRestricted.NO_RESTRICTION from internal entity
20:49:51.529 DEBUG [shadow_control.ctrl_rollo] Winter: 30000.0, Summer: 50000.0, Min: 20000.0
20:49:51.530 DEBUG [shadow_control.ctrl_rollo] Low sun elevation threshold: 0.0°, low sun brightness threshold: 3500.0
20:49:51.530 DEBUG [shadow_control.ctrl_rollo] Sun times before normalization: sunrise=2026-08-14 03:57:25+00:00 (local: 2026-08-14 05:57:25+02:00), sunset=2026-08-14 18:46:22+00:00 (local: 2026-08-14 20:46:22+02:00), now=20:49:51.530092+02:00
20:49:51.530 DEBUG [shadow_control.ctrl_rollo] Sunrise is tomorrow (2026-08-14), adjusting to today by subtracting 1 day
20:49:51.530 DEBUG [shadow_control.ctrl_rollo] Sunset is tomorrow (2026-08-14), adjusting to today by subtracting 1 day
20:49:51.530 DEBUG [shadow_control.ctrl_rollo] Sun times after normalization: sunrise=05:57:25+02:00, sunset=20:46:22+02:00
20:49:51.530 DEBUG [shadow_control.ctrl_rollo] Seasonal calculation: next solstice 2027-06-21, diff_days=311, brightness=43989
20:49:51.530 DEBUG [shadow_control.ctrl_rollo] Daily brightness threshold (seasonal): 43989 lux
20:49:51.530 DEBUG [shadow_control.ctrl_rollo] Outside sun hours (05:57:25 - 20:46:22), returning minimal: 20000.0
20:49:51.530 DEBUG [shadow_control.ctrl_rollo] Updated input values:
 -> Facade config: azimuth=245.0, offset_sun_in=-90.0, offset_sun_out=90.0, elevation_sun_min=0.0, elevation_sun_max=90.0, slat_width=95.0, slat_distance=67.0, slat_angle_offset=0.0, slat_min_angle=0.0, shutter_stepping_height=5.0, shutter_stepping_angle=10.0, shutter_type=ShutterType.MODE3, light_strip_width=0.0, shutter_height=1000.0, neutral_pos_height=0.0, neutral_pos_angle=0, max_movement_duration=30.0, modification_tolerance_height=3.0, modification_tolerance_angle=0.0,
 -> Dynamic config: brightness=0.0, brightness_dawn=-1.0, sun_elevation=-1.0, sun_azimuth=295.86, shutter_current_height=-1.0, shutter_current_angle=-1.0, lock_integration=False, lock_integration_with_position=False, lock_height=0.0, lock_angle=0, movement_restriction_height=MovementRestricted.NO_RESTRICTION, movement_restriction_angle=MovementRestricted.NO_RESTRICTION, enforce_positioning_entity=None, unlock_integration_entity=None,
 -> Shadow config: enabled=False, brightness_threshold_winter=30000.0, brightness_threshold_summer=50000.0, brightness_threshold_minimal=20000.0, after_seconds=15.0, shutter_max_height=100.0, shutter_max_angle=100, shutter_look_through_seconds=15.0, shutter_open_seconds=15.0, shutter_look_through_angle=50, height_after_sun=0.0, angle_after_sun=0, low_sun_elevation_threshold=0.0, low_sun_brightness_threshold=3500.0,
 -> Dawn config: enabled=False, brightness_threshold=500.0, after_seconds=15.0, shutter_max_height=100.0, shutter_max_angle=100, shutter_look_through_seconds=15.0, shutter_open_seconds=15.0, shutter_look_through_angle=50, height_after_dawn=0.0, angle_after_dawn=0, open_not_before=None, close_not_later_than=None
20:49:51.531 DEBUG [shadow_control.ctrl_rollo] State change for entity: sensor.gw2000a_solar_lux
20:49:51.531 DEBUG [shadow_control.ctrl_rollo]   Old state: None
20:49:51.531 DEBUG [shadow_control.ctrl_rollo]   New state: unavailable
20:49:51.531 DEBUG [shadow_control.ctrl_rollo] Checking if facade is in sun
20:49:51.531 DEBUG [shadow_control.ctrl_rollo] sun_entry_angle: 155.0, sun_exit_angle: 335.0, sun_exit_angle_calc: 180.0, azimuth_calc: 140.86
20:49:51.531 DEBUG [shadow_control.ctrl_rollo] Current sun position (a:e): 295.86°:-1.0°, facade: 245.0°
20:49:51.531 DEBUG [shadow_control.ctrl_rollo] Virtual deep and height of the sun against the facade: 0.6312174362934762, -0.017455064928217585, effektive Elevation: -1.5839973496196749
20:49:51.532 DEBUG [shadow_control.ctrl_rollo] Finished facade check:
 -> Real azimuth 295.86° and facade at 245.0° -> IN sun (from 155.0° to 335.0°)
 -> Effective elevation -1.6° for given elevation of -1.0° -> NOT IN min-max-range (0.0°-90.0°)
20:49:51.532 DEBUG [shadow_control.ctrl_rollo] Current shutter state (before processing): NEUTRAL (0)
20:49:51.532 DEBUG [shadow_control.ctrl_rollo] Handle NEUTRAL
20:49:51.532 DEBUG [shadow_control.ctrl_rollo] Checking if facade is in sun
20:49:51.532 DEBUG [shadow_control.ctrl_rollo] sun_entry_angle: 155.0, sun_exit_angle: 335.0, sun_exit_angle_calc: 180.0, azimuth_calc: 140.86
20:49:51.532 DEBUG [shadow_control.ctrl_rollo] Current sun position (a:e): 295.86°:-1.0°, facade: 245.0°
20:49:51.532 DEBUG [shadow_control.ctrl_rollo] Virtual deep and height of the sun against the facade: 0.6312174362934762, -0.017455064928217585, effektive Elevation: -1.5839973496196749
20:49:51.532 DEBUG [shadow_control.ctrl_rollo] Finished facade check:
 -> Real azimuth 295.86° and facade at 245.0° -> IN sun (from 155.0° to 335.0°)
 -> Effective elevation -1.6° for given elevation of -1.0° -> NOT IN min-max-range (0.0°-90.0°)
20:49:51.532 DEBUG [shadow_control.ctrl_rollo] Starting _position_shutter with target height 0.00% and angle 0.00% (is_initial_run: False, lock_state: UNLOCKED)
20:49:51.532 DEBUG [shadow_control.ctrl_rollo] Canceling timer.
20:49:51.533 DEBUG [shadow_control.ctrl_rollo] Services availability (cover.gastezimmer_rollo): set_cover_position=True, set_cover_tilt_position=True
20:49:51.533 DEBUG [shadow_control.ctrl_rollo] Height '0.00%' for entity_id cover.gastezimmer_rollo not sent, value was the same or restricted.
20:49:51.533 DEBUG [shadow_control.ctrl_rollo] Angle of 0% equates to 0.0° (min_slat_angle=0.0, angle_offset=0.0)
20:49:51.533 DEBUG [shadow_control.ctrl_rollo] _position_shutter finished.
20:49:51.533 DEBUG [shadow_control.ctrl_rollo] State 0 (NEUTRAL): Moving shutter to neutral position (0.0%, 0%).
20:49:51.533 DEBUG [shadow_control.ctrl_rollo] New shutter state after processing: NEUTRAL (0)
20:49:51.536 DEBUG [shadow_control.ctrl_rollo] State change detected for sensor.sun_sun_azimuth. Old state: 295.67, New state: 295.86.
20:49:51.536 DEBUG [shadow_control.ctrl_rollo] Input entity 'sensor.sun_sun_azimuth' changed. Triggering recalculation.
20:49:51.536 DEBUG [shadow_control.ctrl_rollo] =====================================================================
20:49:51.536 DEBUG [shadow_control.ctrl_rollo] Calculating and applying cover position, triggered by event: {'entity_id': 'sensor.sun_sun_azimuth', 'old_state': <state sensor.sun_sun_azimuth=295.67; state_class=measurement_angle, unit_of_measurement=°, friendly_name=Sun Sun_azimuth @ 2026-08-13T20:49:31.839312+02:00>, 'new_state': <state sensor.sun_sun_azimuth=295.86; state_class=measurement_angle, unit_of_measurement=°, friendly_name=Sun Sun_azimuth @ 2026-08-13T20:49:51.508579+02:00>}
20:49:51.536 DEBUG [shadow_control.ctrl_rollo] Static key 'facade_slat_width_static' not found in options. Using default: 95.0
20:49:51.536 DEBUG [shadow_control.ctrl_rollo] Static key 'facade_slat_distance_static' not found in options. Using default: 67.0
20:49:51.537 DEBUG [shadow_control.ctrl_rollo] Static key 'facade_slat_angle_offset_static' not found in options. Using default: 0.0
20:49:51.537 DEBUG [shadow_control.ctrl_rollo] Static key 'facade_slat_min_angle_static' not found in options. Using default: 0.0
20:49:51.537 DEBUG [shadow_control.ctrl_rollo] Static key 'facade_shutter_stepping_angle_static' not found in options. Using default: 10.0
20:49:51.537 DEBUG [shadow_control.ctrl_rollo] Static key 'facade_modification_tolerance_angle_static' not found in options. Using default: 0.0
20:49:51.538 DEBUG [shadow_control.ctrl_rollo] Entity 'sensor.gw2000a_solar_lux' is unavailable or unknown. Using default: 0.0
20:49:51.538 DEBUG [shadow_control.ctrl_rollo] Attribute 'elevation' not found in 'sensor.sun_sun_elevation', using state: -1.0
20:49:51.538 DEBUG [shadow_control.ctrl_rollo] Attribute 'azimuth' not found in 'sensor.sun_sun_azimuth', using state: 295.86
20:49:51.538 DEBUG [shadow_control.ctrl_rollo] Calculating overall lock state based on lock=False, lock_with_position=False, auto_lock=False
20:49:51.538 DEBUG [shadow_control.ctrl_rollo] Movement restriction height entity NOT configured or set to 'none', using value MovementRestricted.NO_RESTRICTION from internal entity
20:49:51.538 DEBUG [shadow_control.ctrl_rollo] Movement restriction angle entity NOT configured or set to 'none', using value MovementRestricted.NO_RESTRICTION from internal entity
20:49:51.538 DEBUG [shadow_control.ctrl_rollo] Winter: 30000.0, Summer: 50000.0, Min: 20000.0
20:49:51.538 DEBUG [shadow_control.ctrl_rollo] Low sun elevation threshold: 0.0°, low sun brightness threshold: 3500.0
20:49:51.539 DEBUG [shadow_control.ctrl_rollo] Sun times before normalization: sunrise=2026-08-14 03:57:25+00:00 (local: 2026-08-14 05:57:25+02:00), sunset=2026-08-14 18:46:22+00:00 (local: 2026-08-14 20:46:22+02:00), now=20:49:51.539026+02:00
20:49:51.539 DEBUG [shadow_control.ctrl_rollo] Sunrise is tomorrow (2026-08-14), adjusting to today by subtracting 1 day
20:49:51.539 DEBUG [shadow_control.ctrl_rollo] Sunset is tomorrow (2026-08-14), adjusting to today by subtracting 1 day
20:49:51.539 DEBUG [shadow_control.ctrl_rollo] Sun times after normalization: sunrise=05:57:25+02:00, sunset=20:46:22+02:00
20:49:51.539 DEBUG [shadow_control.ctrl_rollo] Seasonal calculation: next solstice 2027-06-21, diff_days=311, brightness=43989
20:49:51.539 DEBUG [shadow_control.ctrl_rollo] Daily brightness threshold (seasonal): 43989 lux
20:49:51.539 DEBUG [shadow_control.ctrl_rollo] Outside sun hours (05:57:25 - 20:46:22), returning minimal: 20000.0
20:49:51.540 DEBUG [shadow_control.ctrl_rollo] Updated input values:
 -> Facade config: azimuth=245.0, offset_sun_in=-90.0, offset_sun_out=90.0, elevation_sun_min=0.0, elevation_sun_max=90.0, slat_width=95.0, slat_distance=67.0, slat_angle_offset=0.0, slat_min_angle=0.0, shutter_stepping_height=5.0, shutter_stepping_angle=10.0, shutter_type=ShutterType.MODE3, light_strip_width=0.0, shutter_height=1000.0, neutral_pos_height=0.0, neutral_pos_angle=0, max_movement_duration=30.0, modification_tolerance_height=3.0, modification_tolerance_angle=0.0,
 -> Dynamic config: brightness=0.0, brightness_dawn=-1.0, sun_elevation=-1.0, sun_azimuth=295.86, shutter_current_height=-1.0, shutter_current_angle=-1.0, lock_integration=False, lock_integration_with_position=False, lock_height=0.0, lock_angle=0, movement_restriction_height=MovementRestricted.NO_RESTRICTION, movement_restriction_angle=MovementRestricted.NO_RESTRICTION, enforce_positioning_entity=None, unlock_integration_entity=None,
 -> Shadow config: enabled=False, brightness_threshold_winter=30000.0, brightness_threshold_summer=50000.0, brightness_threshold_minimal=20000.0, after_seconds=15.0, shutter_max_height=100.0, shutter_max_angle=100, shutter_look_through_seconds=15.0, shutter_open_seconds=15.0, shutter_look_through_angle=50, height_after_sun=0.0, angle_after_sun=0, low_sun_elevation_threshold=0.0, low_sun_brightness_threshold=3500.0,
 -> Dawn config: enabled=False, brightness_threshold=500.0, after_seconds=15.0, shutter_max_height=100.0, shutter_max_angle=100, shutter_look_through_seconds=15.0, shutter_open_seconds=15.0, shutter_look_through_angle=50, height_after_dawn=0.0, angle_after_dawn=0, open_not_before=None, close_not_later_than=None
20:49:51.540 DEBUG [shadow_control.ctrl_rollo] State change for entity: sensor.sun_sun_azimuth
20:49:51.540 DEBUG [shadow_control.ctrl_rollo]   Old state: 295.67
20:49:51.540 DEBUG [shadow_control.ctrl_rollo]   New state: 295.86
20:49:51.540 DEBUG [shadow_control.ctrl_rollo] Checking if facade is in sun
20:49:51.540 DEBUG [shadow_control.ctrl_rollo] sun_entry_angle: 155.0, sun_exit_angle: 335.0, sun_exit_angle_calc: 180.0, azimuth_calc: 140.86
20:49:51.540 DEBUG [shadow_control.ctrl_rollo] Current sun position (a:e): 295.86°:-1.0°, facade: 245.0°
20:49:51.540 DEBUG [shadow_control.ctrl_rollo] Virtual deep and height of the sun against the facade: 0.6312174362934762, -0.017455064928217585, effektive Elevation: -1.5839973496196749
20:49:51.540 DEBUG [shadow_control.ctrl_rollo] Finished facade check:
 -> Real azimuth 295.86° and facade at 245.0° -> IN sun (from 155.0° to 335.0°)
 -> Effective elevation -1.6° for given elevation of -1.0° -> NOT IN min-max-range (0.0°-90.0°)
20:49:51.540 DEBUG [shadow_control.ctrl_rollo] Current shutter state (before processing): NEUTRAL (0)
20:49:51.541 DEBUG [shadow_control.ctrl_rollo] Handle NEUTRAL
20:49:51.541 DEBUG [shadow_control.ctrl_rollo] Checking if facade is in sun
20:49:51.541 DEBUG [shadow_control.ctrl_rollo] sun_entry_angle: 155.0, sun_exit_angle: 335.0, sun_exit_angle_calc: 180.0, azimuth_calc: 140.86
20:49:51.541 DEBUG [shadow_control.ctrl_rollo] Current sun position (a:e): 295.86°:-1.0°, facade: 245.0°
20:49:51.541 DEBUG [shadow_control.ctrl_rollo] Virtual deep and height of the sun against the facade: 0.6312174362934762, -0.017455064928217585, effektive Elevation: -1.5839973496196749
20:49:51.541 DEBUG [shadow_control.ctrl_rollo] Finished facade check:
 -> Real azimuth 295.86° and facade at 245.0° -> IN sun (from 155.0° to 335.0°)
 -> Effective elevation -1.6° for given elevation of -1.0° -> NOT IN min-max-range (0.0°-90.0°)
20:49:51.541 DEBUG [shadow_control.ctrl_rollo] Starting _position_shutter with target height 0.00% and angle 0.00% (is_initial_run: False, lock_state: UNLOCKED)
20:49:51.541 DEBUG [shadow_control.ctrl_rollo] Canceling timer.
20:49:51.541 DEBUG [shadow_control.ctrl_rollo] Services availability (cover.gastezimmer_rollo): set_cover_position=True, set_cover_tilt_position=True
20:49:51.542 DEBUG [shadow_control.ctrl_rollo] Height '0.00%' for entity_id cover.gastezimmer_rollo not sent, value was the same or restricted.
20:49:51.542 DEBUG [shadow_control.ctrl_rollo] Angle of 0% equates to 0.0° (min_slat_angle=0.0, angle_offset=0.0)
20:49:51.542 DEBUG [shadow_control.ctrl_rollo] _position_shutter finished.
20:49:51.542 DEBUG [shadow_control.ctrl_rollo] State 0 (NEUTRAL): Moving shutter to neutral position (0.0%, 0%).
20:49:51.542 DEBUG [shadow_control.ctrl_rollo] New shutter state after processing: NEUTRAL (0)
20:49:51.542 DEBUG [shadow_control.ctrl_rollo] State change detected for sensor.sun_sun_elevation. Old state: -0.83, New state: -1.0.
20:49:51.542 DEBUG [shadow_control.ctrl_rollo] Input entity 'sensor.sun_sun_elevation' changed. Triggering recalculation.
20:49:51.542 DEBUG [shadow_control.ctrl_rollo] =====================================================================
20:49:51.542 DEBUG [shadow_control.ctrl_rollo] Calculating and applying cover position, triggered by event: {'entity_id': 'sensor.sun_sun_elevation', 'old_state': <state sensor.sun_sun_elevation=-0.83; state_class=measurement_angle, unit_of_measurement=°, friendly_name=Sun Sun_elevation @ 2026-08-13T20:49:31.848794+02:00>, 'new_state': <state sensor.sun_sun_elevation=-1.0; state_class=measurement_angle, unit_of_measurement=°, friendly_name=Sun Sun_elevation @ 2026-08-13T20:49:51.508977+02:00>}
20:49:51.542 DEBUG [shadow_control.ctrl_rollo] Static key 'facade_slat_width_static' not found in options. Using default: 95.0
20:49:51.542 DEBUG [shadow_control.ctrl_rollo] Static key 'facade_slat_distance_static' not found in options. Using default: 67.0
20:49:51.543 DEBUG [shadow_control.ctrl_rollo] Static key 'facade_slat_angle_offset_static' not found in options. Using default: 0.0
20:49:51.543 DEBUG [shadow_control.ctrl_rollo] Static key 'facade_slat_min_angle_static' not found in options. Using default: 0.0
20:49:51.543 DEBUG [shadow_control.ctrl_rollo] Static key 'facade_shutter_stepping_angle_static' not found in options. Using default: 10.0
20:49:51.543 DEBUG [shadow_control.ctrl_rollo] Static key 'facade_modification_tolerance_angle_static' not found in options. Using default: 0.0
20:49:51.543 DEBUG [shadow_control.ctrl_rollo] Entity 'sensor.gw2000a_solar_lux' is unavailable or unknown. Using default: 0.0
20:49:51.543 DEBUG [shadow_control.ctrl_rollo] Attribute 'elevation' not found in 'sensor.sun_sun_elevation', using state: -1.0
20:49:51.543 DEBUG [shadow_control.ctrl_rollo] Attribute 'azimuth' not found in 'sensor.sun_sun_azimuth', using state: 295.86
20:49:51.543 DEBUG [shadow_control.ctrl_rollo] Calculating overall lock state based on lock=False, lock_with_position=False, auto_lock=False
20:49:51.543 DEBUG [shadow_control.ctrl_rollo] Movement restriction height entity NOT configured or set to 'none', using value MovementRestricted.NO_RESTRICTION from internal entity
20:49:51.543 DEBUG [shadow_control.ctrl_rollo] Movement restriction angle entity NOT configured or set to 'none', using value MovementRestricted.NO_RESTRICTION from internal entity
20:49:51.543 DEBUG [shadow_control.ctrl_rollo] Winter: 30000.0, Summer: 50000.0, Min: 20000.0
20:49:51.544 DEBUG [shadow_control.ctrl_rollo] Low sun elevation threshold: 0.0°, low sun brightness threshold: 3500.0
20:49:51.544 DEBUG [shadow_control.ctrl_rollo] Sun times before normalization: sunrise=2026-08-14 03:57:25+00:00 (local: 2026-08-14 05:57:25+02:00), sunset=2026-08-14 18:46:22+00:00 (local: 2026-08-14 20:46:22+02:00), now=20:49:51.544196+02:00
20:49:51.544 DEBUG [shadow_control.ctrl_rollo] Sunrise is tomorrow (2026-08-14), adjusting to today by subtracting 1 day
20:49:51.544 DEBUG [shadow_control.ctrl_rollo] Sunset is tomorrow (2026-08-14), adjusting to today by subtracting 1 day
20:49:51.544 DEBUG [shadow_control.ctrl_rollo] Sun times after normalization: sunrise=05:57:25+02:00, sunset=20:46:22+02:00
20:49:51.544 DEBUG [shadow_control.ctrl_rollo] Seasonal calculation: next solstice 2027-06-21, diff_days=311, brightness=43989
20:49:51.544 DEBUG [shadow_control.ctrl_rollo] Daily brightness threshold (seasonal): 43989 lux
20:49:51.544 DEBUG [shadow_control.ctrl_rollo] Outside sun hours (05:57:25 - 20:46:22), returning minimal: 20000.0
20:49:51.545 DEBUG [shadow_control.ctrl_rollo] Updated input values:
 -> Facade config: azimuth=245.0, offset_sun_in=-90.0, offset_sun_out=90.0, elevation_sun_min=0.0, elevation_sun_max=90.0, slat_width=95.0, slat_distance=67.0, slat_angle_offset=0.0, slat_min_angle=0.0, shutter_stepping_height=5.0, shutter_stepping_angle=10.0, shutter_type=ShutterType.MODE3, light_strip_width=0.0, shutter_height=1000.0, neutral_pos_height=0.0, neutral_pos_angle=0, max_movement_duration=30.0, modification_tolerance_height=3.0, modification_tolerance_angle=0.0,
 -> Dynamic config: brightness=0.0, brightness_dawn=-1.0, sun_elevation=-1.0, sun_azimuth=295.86, shutter_current_height=-1.0, shutter_current_angle=-1.0, lock_integration=False, lock_integration_with_position=False, lock_height=0.0, lock_angle=0, movement_restriction_height=MovementRestricted.NO_RESTRICTION, movement_restriction_angle=MovementRestricted.NO_RESTRICTION, enforce_positioning_entity=None, unlock_integration_entity=None,
 -> Shadow config: enabled=False, brightness_threshold_winter=30000.0, brightness_threshold_summer=50000.0, brightness_threshold_minimal=20000.0, after_seconds=15.0, shutter_max_height=100.0, shutter_max_angle=100, shutter_look_through_seconds=15.0, shutter_open_seconds=15.0, shutter_look_through_angle=50, height_after_sun=0.0, angle_after_sun=0, low_sun_elevation_threshold=0.0, low_sun_brightness_threshold=3500.0,
 -> Dawn config: enabled=False, brightness_threshold=500.0, after_seconds=15.0, shutter_max_height=100.0, shutter_max_angle=100, shutter_look_through_seconds=15.0, shutter_open_seconds=15.0, shutter_look_through_angle=50, height_after_dawn=0.0, angle_after_dawn=0, open_not_before=None, close_not_later_than=None
20:49:51.545 DEBUG [shadow_control.ctrl_rollo] State change for entity: sensor.sun_sun_elevation
20:49:51.545 DEBUG [shadow_control.ctrl_rollo]   Old state: -0.83
20:49:51.545 DEBUG [shadow_control.ctrl_rollo]   New state: -1.0
20:49:51.545 DEBUG [shadow_control.ctrl_rollo] Checking if facade is in sun
20:49:51.545 DEBUG [shadow_control.ctrl_rollo] sun_entry_angle: 155.0, sun_exit_angle: 335.0, sun_exit_angle_calc: 180.0, azimuth_calc: 140.86
20:49:51.545 DEBUG [shadow_control.ctrl_rollo] Current sun position (a:e): 295.86°:-1.0°, facade: 245.0°
20:49:51.545 DEBUG [shadow_control.ctrl_rollo] Virtual deep and height of the sun against the facade: 0.6312174362934762, -0.017455064928217585, effektive Elevation: -1.5839973496196749
20:49:51.545 DEBUG [shadow_control.ctrl_rollo] Finished facade check:
 -> Real azimuth 295.86° and facade at 245.0° -> IN sun (from 155.0° to 335.0°)
 -> Effective elevation -1.6° for given elevation of -1.0° -> NOT IN min-max-range (0.0°-90.0°)
20:49:51.545 DEBUG [shadow_control.ctrl_rollo] Current shutter state (before processing): NEUTRAL (0)
20:49:51.546 DEBUG [shadow_control.ctrl_rollo] Handle NEUTRAL
20:49:51.546 DEBUG [shadow_control.ctrl_rollo] Checking if facade is in sun
20:49:51.546 DEBUG [shadow_control.ctrl_rollo] sun_entry_angle: 155.0, sun_exit_angle: 335.0, sun_exit_angle_calc: 180.0, azimuth_calc: 140.86
20:49:51.546 DEBUG [shadow_control.ctrl_rollo] Current sun position (a:e): 295.86°:-1.0°, facade: 245.0°
20:49:51.546 DEBUG [shadow_control.ctrl_rollo] Virtual deep and height of the sun against the facade: 0.6312174362934762, -0.017455064928217585, effektive Elevation: -1.5839973496196749
20:49:51.546 DEBUG [shadow_control.ctrl_rollo] Finished facade check:
 -> Real azimuth 295.86° and facade at 245.0° -> IN sun (from 155.0° to 335.0°)
 -> Effective elevation -1.6° for given elevation of -1.0° -> NOT IN min-max-range (0.0°-90.0°)
20:49:51.546 DEBUG [shadow_control.ctrl_rollo] Starting _position_shutter with target height 0.00% and angle 0.00% (is_initial_run: False, lock_state: UNLOCKED)
20:49:51.546 DEBUG [shadow_control.ctrl_rollo] Canceling timer.
20:49:51.546 DEBUG [shadow_control.ctrl_rollo] Services availability (cover.gastezimmer_rollo): set_cover_position=True, set_cover_tilt_position=True
20:49:51.547 DEBUG [shadow_control.ctrl_rollo] Height '0.00%' for entity_id cover.gastezimmer_rollo not sent, value was the same or restricted.
20:49:51.547 DEBUG [shadow_control.ctrl_rollo] Angle of 0% equates to 0.0° (min_slat_angle=0.0, angle_offset=0.0)
20:49:51.547 DEBUG [shadow_control.ctrl_rollo] _position_shutter finished.
20:49:51.547 DEBUG [shadow_control.ctrl_rollo] State 0 (NEUTRAL): Moving shutter to neutral position (0.0%, 0%).
20:49:51.547 DEBUG [shadow_control.ctrl_rollo] New shutter state after processing: NEUTRAL (0)
20:49:52.221 INFO [shadow_control.ctrl_rollo] Home Assistant started. Grace period of 30s active to prevent shutter movement during state restore.
20:49:52.221 DEBUG [shadow_control.ctrl_rollo] Home Assistant started event received. Performing initial calculation.
20:49:52.221 DEBUG [shadow_control.ctrl_rollo] =====================================================================
20:49:52.221 DEBUG [shadow_control.ctrl_rollo] Calculating and applying cover position, triggered by event: None
20:49:52.221 DEBUG [shadow_control.ctrl_rollo] Static key 'facade_slat_width_static' not found in options. Using default: 95.0
20:49:52.221 DEBUG [shadow_control.ctrl_rollo] Static key 'facade_slat_distance_static' not found in options. Using default: 67.0
20:49:52.221 DEBUG [shadow_control.ctrl_rollo] Static key 'facade_slat_angle_offset_static' not found in options. Using default: 0.0
20:49:52.222 DEBUG [shadow_control.ctrl_rollo] Static key 'facade_slat_min_angle_static' not found in options. Using default: 0.0
20:49:52.222 DEBUG [shadow_control.ctrl_rollo] Static key 'facade_shutter_stepping_angle_static' not found in options. Using default: 10.0
20:49:52.222 DEBUG [shadow_control.ctrl_rollo] Static key 'facade_modification_tolerance_angle_static' not found in options. Using default: 0.0
20:49:52.222 DEBUG [shadow_control.ctrl_rollo] Entity 'sensor.gw2000a_solar_lux' is unavailable or unknown. Using default: 0.0
20:49:52.222 DEBUG [shadow_control.ctrl_rollo] Attribute 'elevation' not found in 'sensor.sun_sun_elevation', using state: -1.0
20:49:52.222 DEBUG [shadow_control.ctrl_rollo] Attribute 'azimuth' not found in 'sensor.sun_sun_azimuth', using state: 295.86
20:49:52.222 DEBUG [shadow_control.ctrl_rollo] Calculating overall lock state based on lock=False, lock_with_position=False, auto_lock=False
20:49:52.222 DEBUG [shadow_control.ctrl_rollo] Movement restriction height entity NOT configured or set to 'none', using value MovementRestricted.NO_RESTRICTION from internal entity
20:49:52.222 DEBUG [shadow_control.ctrl_rollo] Movement restriction angle entity NOT configured or set to 'none', using value MovementRestricted.NO_RESTRICTION from internal entity
20:49:52.222 DEBUG [shadow_control.ctrl_rollo] Winter: 30000.0, Summer: 50000.0, Min: 20000.0
20:49:52.222 DEBUG [shadow_control.ctrl_rollo] Low sun elevation threshold: 0.0°, low sun brightness threshold: 3500.0
20:49:52.222 DEBUG [shadow_control.ctrl_rollo] Sun times before normalization: sunrise=2026-08-14 03:57:25+00:00 (local: 2026-08-14 05:57:25+02:00), sunset=2026-08-14 18:46:22+00:00 (local: 2026-08-14 20:46:22+02:00), now=20:49:52.222778+02:00
20:49:52.222 DEBUG [shadow_control.ctrl_rollo] Sunrise is tomorrow (2026-08-14), adjusting to today by subtracting 1 day
20:49:52.222 DEBUG [shadow_control.ctrl_rollo] Sunset is tomorrow (2026-08-14), adjusting to today by subtracting 1 day
20:49:52.223 DEBUG [shadow_control.ctrl_rollo] Sun times after normalization: sunrise=05:57:25+02:00, sunset=20:46:22+02:00
20:49:52.223 DEBUG [shadow_control.ctrl_rollo] Seasonal calculation: next solstice 2027-06-21, diff_days=311, brightness=43989
20:49:52.223 DEBUG [shadow_control.ctrl_rollo] Daily brightness threshold (seasonal): 43989 lux
20:49:52.223 DEBUG [shadow_control.ctrl_rollo] Outside sun hours (05:57:25 - 20:46:22), returning minimal: 20000.0
20:49:52.223 DEBUG [shadow_control.ctrl_rollo] Updated input values:
 -> Facade config: azimuth=245.0, offset_sun_in=-90.0, offset_sun_out=90.0, elevation_sun_min=0.0, elevation_sun_max=90.0, slat_width=95.0, slat_distance=67.0, slat_angle_offset=0.0, slat_min_angle=0.0, shutter_stepping_height=5.0, shutter_stepping_angle=10.0, shutter_type=ShutterType.MODE3, light_strip_width=0.0, shutter_height=1000.0, neutral_pos_height=0.0, neutral_pos_angle=0, max_movement_duration=30.0, modification_tolerance_height=3.0, modification_tolerance_angle=0.0,
 -> Dynamic config: brightness=0.0, brightness_dawn=-1.0, sun_elevation=-1.0, sun_azimuth=295.86, shutter_current_height=-1.0, shutter_current_angle=-1.0, lock_integration=False, lock_integration_with_position=False, lock_height=0.0, lock_angle=0, movement_restriction_height=MovementRestricted.NO_RESTRICTION, movement_restriction_angle=MovementRestricted.NO_RESTRICTION, enforce_positioning_entity=None, unlock_integration_entity=None,
 -> Shadow config: enabled=False, brightness_threshold_winter=30000.0, brightness_threshold_summer=50000.0, brightness_threshold_minimal=20000.0, after_seconds=15.0, shutter_max_height=100.0, shutter_max_angle=100, shutter_look_through_seconds=15.0, shutter_open_seconds=15.0, shutter_look_through_angle=50, height_after_sun=0.0, angle_after_sun=0, low_sun_elevation_threshold=0.0, low_sun_brightness_threshold=3500.0,
 -> Dawn config: enabled=False, brightness_threshold=500.0, after_seconds=15.0, shutter_max_height=100.0, shutter_max_angle=100, shutter_look_through_seconds=15.0, shutter_open_seconds=15.0, shutter_look_through_angle=50, height_after_dawn=0.0, angle_after_dawn=0, open_not_before=None, close_not_later_than=None
20:49:52.223 DEBUG [shadow_control.ctrl_rollo] Checking if facade is in sun
20:49:52.223 DEBUG [shadow_control.ctrl_rollo] sun_entry_angle: 155.0, sun_exit_angle: 335.0, sun_exit_angle_calc: 180.0, azimuth_calc: 140.86
20:49:52.223 DEBUG [shadow_control.ctrl_rollo] Current sun position (a:e): 295.86°:-1.0°, facade: 245.0°
20:49:52.223 DEBUG [shadow_control.ctrl_rollo] Virtual deep and height of the sun against the facade: 0.6312174362934762, -0.017455064928217585, effektive Elevation: -1.5839973496196749
20:49:52.223 DEBUG [shadow_control.ctrl_rollo] Finished facade check:
 -> Real azimuth 295.86° and facade at 245.0° -> IN sun (from 155.0° to 335.0°)
 -> Effective elevation -1.6° for given elevation of -1.0° -> NOT IN min-max-range (0.0°-90.0°)
20:49:52.223 DEBUG [shadow_control.ctrl_rollo] Current shutter state (before processing): NEUTRAL (0)
20:49:52.223 DEBUG [shadow_control.ctrl_rollo] Handle NEUTRAL
20:49:52.223 DEBUG [shadow_control.ctrl_rollo] Checking if facade is in sun
20:49:52.223 DEBUG [shadow_control.ctrl_rollo] sun_entry_angle: 155.0, sun_exit_angle: 335.0, sun_exit_angle_calc: 180.0, azimuth_calc: 140.86
20:49:52.224 DEBUG [shadow_control.ctrl_rollo] Current sun position (a:e): 295.86°:-1.0°, facade: 245.0°
20:49:52.224 DEBUG [shadow_control.ctrl_rollo] Virtual deep and height of the sun against the facade: 0.6312174362934762, -0.017455064928217585, effektive Elevation: -1.5839973496196749
20:49:52.224 DEBUG [shadow_control.ctrl_rollo] Finished facade check:
 -> Real azimuth 295.86° and facade at 245.0° -> IN sun (from 155.0° to 335.0°)
 -> Effective elevation -1.6° for given elevation of -1.0° -> NOT IN min-max-range (0.0°-90.0°)
20:49:52.224 DEBUG [shadow_control.ctrl_rollo] Starting _position_shutter with target height 0.00% and angle 0.00% (is_initial_run: False, lock_state: UNLOCKED)
20:49:52.224 DEBUG [shadow_control.ctrl_rollo] Canceling timer.
20:49:52.224 DEBUG [shadow_control.ctrl_rollo] Services availability (cover.gastezimmer_rollo): set_cover_position=True, set_cover_tilt_position=True
20:49:52.224 DEBUG [shadow_control.ctrl_rollo] Height '0.00%' for entity_id cover.gastezimmer_rollo not sent, value was the same or restricted.
20:49:52.224 DEBUG [shadow_control.ctrl_rollo] Angle of 0% equates to 0.0° (min_slat_angle=0.0, angle_offset=0.0)
20:49:52.224 DEBUG [shadow_control.ctrl_rollo] _position_shutter finished.
20:49:52.224 DEBUG [shadow_control.ctrl_rollo] State 0 (NEUTRAL): Moving shutter to neutral position (0.0%, 0%).
20:49:52.224 DEBUG [shadow_control.ctrl_rollo] New shutter state after processing: NEUTRAL (0)

Diagnostics dump

No diagnostics downloadable

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions