Skip to content

Fix sunset/morning calculation and daytime determination #299

Fix sunset/morning calculation and daytime determination

Fix sunset/morning calculation and daytime determination #299

Triggered via push May 5, 2024 01:02
Status Success
Total duration 21s
Artifacts
Matrix: default
Fit to window
Zoom out
Zoom in

Annotations

412 warnings and 49 notices
Line is longer than allowed by code style: script.service.hue/resources/lib/lightgroup.py#L212
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: README.md#L1
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/ambigroup.py#L135
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: README.md#L49
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/menu.py#L63
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/addon.xml#L49
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/ambigroup.py#L71
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/__init__.py#L16
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: README.md#L58
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/lightgroup.py#L321
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/lightgroup.py#L146
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/ambigroup.py#L195
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/imageprocess.py#L73
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/lightgroup.py#L52
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/hue.py#L92
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/addon.xml#L53
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/addon.xml#L57
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/addon.xml#L52
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/ambigroup.py#L50
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/lightgroup.py#L77
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/reporting.py#L33
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/addon.xml#L55
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/hue.py#L218
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/hue.py#L304
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/addon.xml#L54
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/core.py#L225
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/core.py#L160
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/addon.xml#L58
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/core.py#L200
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/ambigroup.py#L213
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/addon.xml#L50
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/lightgroup.py#L316
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/hue.py#L85
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/ambigroup.py#L141
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/hue.py#L314
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: README.md#L59
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/lightgroup.py#L159
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/hue.py#L176
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/menu.py#L109
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/hue.py#L290
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/ambigroup.py#L210
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: README.md#L57
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/lightgroup.py#L211
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/addon.xml#L56
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/hue.py#L293
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/core.py#L145
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/hue.py#L112
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/settings.py#L97
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/menu.py#L62
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/lightgroup.py#L282
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/lightgroup.py#L151
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: README.md#L5
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/ambigroup.py#L121
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/lightgroup.py#L245
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/menu.py#L64
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: README.md#L56
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/ambigroup.py#L201
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/reporting.py#L54
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/hue.py#L108
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/settings.py#L125
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/ambigroup.py#L254
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: README.md#L18
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/ambigroup.py#L169
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/menu.py#L85
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: README.md#L46
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/ambigroup.py#L119
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/addon.xml#L48
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/menu.py#L84
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/hue.py#L294
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: README.md#L63
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/settings.py#L103
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/addon.xml#L51
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/lightgroup.py#L93
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/settings.py#L69
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/language.py#L131
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/lightgroup.py#L47
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/settings.py#L130
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/settings.py#L117
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/hue.py#L262
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: .github/workflows/code_quality.yml#L21
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/hue.py#L124
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/lightgroup.py#L244
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/menu.py#L94
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/addon.xml#L47
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: README.md#L54
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/settings.py#L84
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/hue.py#L59
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/lightgroup.py#L303
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/core.py#L218
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/ambigroup.py#L145
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/addon.xml#L61
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/ambigroup.py#L197
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/ambigroup.py#L66
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/addon.xml#L59
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/ambigroup.py#L126
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/hue.py#L118
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/lightgroup.py#L264
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/lightgroup.py#L323
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/reporting.py#L19
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/hue.py#L188
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/imageprocess.py#L37
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: README.md#L53
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: script.service.hue/resources/lib/ambigroup.py#L132
Line is longer than allowed by code style (\> 120 columns)
Incorrect type: script.service.hue/resources/lib/ambigroup.py#L132
Expected type 'Sized', got 'None' instead
Incorrect type: script.service.hue/resources/lib/hue.py#L140
Type 'int' doesn't have expected attribute '__getitem__'
Incorrect type: script.service.hue/resources/lib/hue.py#L29
Expected type 'dict', got 'None' instead
Unbound local variables: script.service.hue/resources/lib/hue.py#L294
Local variable 'software_version' might be referenced before assignment
Unbound local variables: language_gen.py#L98
Name 'mapped' can be undefined
Unbound local variables: script.service.hue/resources/lib/hue.py#L280
Local variable 'response' might be referenced before assignment
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/settings.py#L88
Instance attribute group1_pause_transition defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/settings.py#L52
Instance attribute schedule_end defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/settings.py#L71
Instance attribute group0_pause_enabled defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/settings.py#L95
Instance attribute group3_enabled defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/settings.py#L107
Instance attribute group3_update_interval defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/settings.py#L101
Instance attribute group3_capture_size defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/settings.py#L76
Instance attribute group0_stop_scene defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/settings.py#L59
Instance attribute pvr_setting defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/settings.py#L87
Instance attribute group1_pause_scene defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/hue.py#L155
Instance attribute key defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/settings.py#L72
Instance attribute group0_pause_scene defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/settings.py#L83
Instance attribute group1_play_scene defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/settings.py#L41
Instance attribute show500error defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/settings.py#L91
Instance attribute group1_stop_scene defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/settings.py#L103
Instance attribute group3_resume_transition defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/settings.py#L67
Instance attribute group0_play_enabled defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/settings.py#L77
Instance attribute group0_stop_transition defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/settings.py#L57
Instance attribute episode_setting defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/settings.py#L99
Instance attribute group3_max_bri defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/settings.py#L98
Instance attribute group3_min_bri defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/settings.py#L100
Instance attribute group3_saturation defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/settings.py#L51
Instance attribute schedule_start defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/settings.py#L45
Instance attribute daylight_disable defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/settings.py#L46
Instance attribute force_on_sunset defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/settings.py#L75
Instance attribute group0_stop_enabled defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/settings.py#L109
Instance attribute group3_lights defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/settings.py#L102
Instance attribute group3_resume_state defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/settings.py#L86
Instance attribute group1_pause_enabled defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/settings.py#L80
Instance attribute group1_enabled defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/settings.py#L84
Instance attribute group1_play_transition defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/settings.py#L47
Instance attribute morning_time defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/settings.py#L61
Instance attribute skip_time_check_if_light_on defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/settings.py#L60
Instance attribute other_setting defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/settings.py#L50
Instance attribute schedule_enabled defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/hue.py#L179
Instance attribute discoveredIP defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/settings.py#L62
Instance attribute skip_scene_if_all_off defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/settings.py#L69
Instance attribute group0_play_transition defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/settings.py#L82
Instance attribute group1_play_enabled defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/settings.py#L68
Instance attribute group0_play_scene defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/settings.py#L48
Instance attribute sunset_offset defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/settings.py#L92
Instance attribute group1_stop_transition defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/settings.py#L73
Instance attribute group0_pause_transition defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/settings.py#L65
Instance attribute group0_enabled defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/settings.py#L56
Instance attribute movie_setting defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/settings.py#L55
Instance attribute minimum_duration defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/settings.py#L58
Instance attribute music_video_setting defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/settings.py#L90
Instance attribute group1_stop_enabled defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/settings.py#L97
Instance attribute group3_transition_time defined outside __init__
Unused local symbols: script.service.hue/resources/lib/hue.py#L253
Local variable 'progress' value is not used