Closed moha-tah closed 3 months ago
When someone change his favorite mosque through "Configure > Change mosque", the sensors are updated weirdly.
For example, when I changed my favorite mosque, the prayer after 'Asr was the Dhuhr of the next day.
Edit : The issue comes from somewhere else, the update_next_salat_sensor is run twice sometimes. Thus, the plugin skips some prayers.
update_next_salat_sensor
For example if the bug appears at Fajr:
Result: According to the code, the prayer after Fajr is 'Asr :(
fixed
When someone change his favorite mosque through "Configure > Change mosque", the sensors are updated weirdly.For example, when I changed my favorite mosque, the prayer after 'Asr was the Dhuhr of the next day.Edit : The issue comes from somewhere else, the
update_next_salat_sensor
is run twice sometimes. Thus, the plugin skips some prayers.For example if the bug appears at Fajr:
Result: According to the code, the prayer after Fajr is 'Asr :(