How to query a parameter value

I have installed the integration “adaptive_lighting” and I need to display the time of dawn on the dashboard, I don’t understand how to request this time, the whole configuration can be viewed like this

{{state_attr("switch.adaptive_lighting_forest", "configuration")}}

{'lights': ['light.shaiby_v_spalne_mdt', 'light.shaiby_v_gostevoi_mdt'], 'interval': 90.0, 'transition': 45.0, 'initial_transition': 1.0, 'min_brightness': 1, 'max_brightness': 100, 'min_color_temp': 2700, 'max_color_temp': 5700, 'prefer_rgb_color': False, 'sleep_brightness': 1, 'sleep_rgb_or_color_temp': 'color_temp', 'sleep_color_temp': 1000, 'sleep_rgb_color': [255, 56, 0], 'sleep_transition': 1.0, 'transition_until_sleep': False, 'sunrise_time': datetime.time(11, 34, 38), 'min_sunrise_time': None, 'max_sunrise_time': None, 'sunrise_offset': 0.0, 'sunset_time': datetime.time(23, 34, 38), 'min_sunset_time': None, 'max_sunset_time': None, 'sunset_offset': 0.0, 'brightness_mode': 'default', 'brightness_mode_time_dark': 900.0, 'brightness_mode_time_light': 3600.0, 'take_over_control': True, 'detect_non_ha_changes': False, 'autoreset_control_seconds': 0, 'only_once': False, 'adapt_only_on_bare_turn_on': False, 'separate_turn_on_commands': False, 'send_split_delay': 0, 'adapt_delay': 0.0, 'skip_redundant_commands': False, 'intercept': True, 'multi_light_intercept': True, 'include_config_in_attributes': True, 'name': 'форест'}

and here I need to output the value of the sunrise_time parameter as hours:minutes:seconds

{{ (state_attr('switch.adaptive_lighting_forest', 'configuration')['sunrise_time']).strftime('%H:%M:%S') }}
1 Like