core: Jewish Calendar upcoming candle lighting does not update correctly on consecutive days

The problem

The erev_shabbat_hag binary sensor appears to only be on on the day before the start of hag and/or shabbat, instead of on any day when the next day is shabbat or hag. For example, this week it was on only on Wednesday, October 2 (29 Elul), instead of on Wednesday and Thursday (erev hag) and Friday (erev shabbat).

The particular behavior I’m looking for is to turn on my outside lights before sunset if both today and tomorrow are shabbat or hag.

This might be a feature request, depending on if this is the intended behavior of the erev_shabbat_hag sensor. If it is the intended behavior, would it be possible to add a new sensor that behaves the way I described?

What version of Home Assistant Core has the issue?

core-2024.10.1

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

jewish_calendar

Link to integration documentation on our website

https://www.home-assistant.io/integrations/jewish_calendar

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Jewish Calendar Erev Shabbat/Hag turned off
6:05:00 PM - 3 days ago
Jewish Calendar Erev Shabbat/Hag turned on
6:43:00 AM - 3 days ago

Additional information

No response

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Comments: 17 (10 by maintainers)

Most upvoted comments

@DovieW that’s unrelated to this issue. The motzei shabbat chag sensor is not enabled by default. You need to manually enable it if you want it.

@home-assistant rename Jewish Calendar upcoming candle lighting does not update correctly on consecutive days