Skip to content

Releases: hitchin999/YidCal

Attribute Condition Fix + שבת הפסקה

15 Mar 06:29
efd12ed

Choose a tag to compare

בס"ד

🔧 Fix

  • Sensor attributes (holidays, special Shabbos, etc.) now work with HA state conditions — you can use state: "true" / state: "false" in automations
  • Previously, boolean attributes couldn't be matched by state conditions — only template conditions worked

⚠️ Note

  • If you used == true (without quotes) in a template, change it to == 'true' (with quotes)
  • Bare template conditions like {{ state_attr('sensor.yidcal_holiday', 'חנוכה') }} continue to work as before

New

  • Added שבת הפסקה attribute to the Special Shabbos sensor — turns true on a Shabbos that falls between the ד׳ פרשיות without having one of its own

Full Changelog: v0.6.1...v0.6.2

Molad DST Fix

13 Mar 21:14
9e8e27e

Choose a tag to compare

בס״ד

🛠️ Bug Fix

  • Fixed molad time being off by one hour when local DST doesn't match Jerusalem DST. The molad now adjusts based on your Home Assistant timezone instead of Jerusalem's, so the announced time matches your local clock.

Full Changelog: v0.6.0...v0.6.1

Shabbos Mevorchim Chodesh Nissan Fix

13 Mar 02:36
f34ae1f

Choose a tag to compare

בס״ד

🛠️ Bug Fix

  • Fixed Shabbos Mevorchim not showing for Chodesh Nissan. The שבת מברכים and חודש מברכים attributes were never turning on before Rosh Chodesh Nissan.

Full Changelog: v0.5.9...v0.6.0

3-Day Yom Tov Sensor, Motzei Deferral & Shabbos Edge Cases

05 Mar 20:27
371de94

Choose a tag to compare

בס״ד

New Features

🆕 3 Days Yom Tov Binary Sensor

New binary_sensor.yidcal_three_day_yomtov — turns ON from candle-lighting through Alos the morning after any continuous block that contains both a pure Shabbos and at least one Yom Tov day (3+ days of no melacha).
Attributes:

  • שבת ואח"כ יום טוב — True when Shabbos comes first (e.g. Shabbos → RH Sun/Mon)
  • יום טוב ואח"כ שבת — True when YT comes first (e.g. RH Thu/Fri → Shabbos)

🆕 שבת ערב פורים Attribute

New holiday attribute flag that fires on Shabbos when it falls on 13 Adar (Erev Purim). Window: Alos → Candle-lighting. Also available as a separate binary sensor if holiday attribute sensors are enabled.

🆕 ערב בדיקת חמץ Attribute

New holiday attribute flag for the daytime before ליל בדיקת חמץ. Window: Alos → Candle-lighting (where ליל בדיקת חמץ picks up). In deferred years when 14 Nisan falls on Shabbos and bedika moves to Thursday night, the sensor correctly fires on Thursday (12 Nisan) instead of the usual Wednesday (13 Nisan). Also available as binary_sensor.yidcal_erev_bedikas_chumetz.


Fixes & Improvements

חצות הלילה — Anchored to Halachic Night

Previously, the חצות הלילה sensor was anchored to the English (civil) date. At 11:56 PM it would show the correct חצות for tonight, but after midnight (12:01 AM) it would jump to tomorrow night's חצות — even though halachically it's still the same night. Now the sensor determines which halachic night it's in by checking עלות השחר: if the current time is before עלות, it's still "last night" and the sensor continues showing the current night's חצות. The sensor transitions to the next night's value at עלות, not at midnight. A scheduled refresh fires at עלות each morning to handle the transition precisely.

סוף זמן אכילת/שריפת חמץ — Deferred Year Fix

In a deferred year (14 Nisan on Shabbos), these sensors previously computed zmanim against the wrong date. Now:

  • Sof Zman Achilas Chumetz — always 14 Nisan 4th hour (you can't eat chametz past the 4th hour on Shabbos morning regardless).
  • Sof Zman Sriefes Chumetz — state and _Simple show 13 Nisan Friday 5th hour (for bell/automation — the physical sriefa must happen before Shabbos). New Sof_Zman_Biur_Simple and Sof_Zman_Biur_With_Seconds attributes show the 14 Nisan Shabbos 5th hour (halachic deadline for disposing of remaining chametz via bitul). The biur attributes only appear in deferred years.

מוצאי Holiday Sensors — Shabbos Deferral for Major Yom Tov

Previously, if a major Yom Tov's last day fell on Friday (creating a 3-day block), the מוצאי sensor would be blocked entirely by Shabbos and never fire. Now, the five major Yom Tov motzei sensors defer to Motzaei Shabbos (Saturday havdalah → Sunday Alos):

  • מוצאי ראש השנה
  • מוצאי סוכות
  • מוצאי פסח
  • מוצאי שבועות
  • מוצאי יום הכיפורים
    Non-YT motzei sensors (fasts, Chanukah, Lag BaOmer, etc.) retain the original behavior — if Shabbos blocks them, they simply don't fire.

ערב שבועות — Friday Extension

When 5 Sivan (Erev Shavuos) falls on Shabbos, ערב שבועות now also fires on Friday (4 Sivan), matching the existing behavior of ערב פסח when 14 Nisan is Shabbos.

אסרו חג סוכות — Shabbos Deferral

When 24 Tishrei falls on Shabbos (which happens when Rosh Hashanah starts on Thursday), אסרו חג סוכות now correctly defers to 25 Tishrei (Sunday).

Full Changelog: v0.5.8...v0.5.9

changed Longer Shabbos Shachris on/off time

18 Feb 01:37
7b242bd

Choose a tag to compare

changed the Longer Shabbos Shachris binary sensor to be on the entire Shabbos.

Full Changelog: v0.5.7...v0.5.8

DST, Season, Amud HaYomi & More New Sensors

18 Feb 01:37
d9ebbf5

Choose a tag to compare

בס״ד

🆕 New Sensors — Display Device

  • Added Daf HaYomi sensor: sensor.yidcal_daf_hayomi — today's Daf Yomi page in Hebrew (e.g. מנחות דף כ״ט). Enabled by default — can be toggled via config flow.
  • Added Amud HaYomi sensor: sensor.yidcal_amud_hayomi — today's Amud HaYomi / Dirshu cycle (e.g. פסחים דף ק״ג עמוד ב).

🆕 New Sensors — Special Binary Sensors

  • Added DST sensor: binary_sensor.yidcal_dst — ON when your timezone is observing Daylight Saving Time.
  • Added Erev After Chatzos sensor: binary_sensor.yidcal_erev_after_chatzos — ON from Chatzos HaYom until candle-lighting on Erev Shabbos / Erev Yom Tov.
  • Added Season sensor: sensor.yidcal_season — state: "בין פסח לסוכות" / "בין סוכות לפסח", with boolean attributes for sub-periods:
    • Pesach_to_Sukkos, Sukkos_to_Pesach
    • Pesach_till_Shvuos, Shvuos_till_Rosh_Hashanah
    • After_Shvuos_till_DST_OFF, DST_OFF_till_Pesach
    • DST_ON_till_Pesach, DST_OFF_till_Chanukah
  • Added Longer Shabbos Shachris sensor: binary_sensor.yidcal_longer_shabbos_shachris — ON 4 AM–2 PM on Shabbosim with longer davening (ד׳ פרשיות, שבת הגדול, שבת ר״ח, שבת מברכים, שבת חנוכה, שבת חוה״מ, פורים משולש).

Full Changelog: v0.5.6...v0.5.7

Replaced 'ט"ו בשבט' with 'חמשה עשר בשבט'

02 Feb 06:46
2fa8eb2

Choose a tag to compare

בס"ד
Hello. long time no see.

Basically it didn't make sense on displays where the holiday and the date look almost identical. so we swapped it.

This does NOT change the entity ID. BUT if you used the holiday sensor state ט"ו בשבט you should update your automations to חמשה עשר בשבט

Full Changelog: v0.5.5...v0.5.6

Improvements + שבת שירה

30 Dec 06:53
c99279f

Choose a tag to compare

בס״ד

🕍 Haftorah Improvements

  • Added weekday haftorah readings for fast days.

⏳ Fast Countdown Timer Improvements

  • Fast countdown timers now start at:

    • Tzeis for minor fast days
    • Chatzos for full-day fasts

📖 Krias HaTorah Improvements

  • Fast days now show both Shacharis and Mincha, with correct haftorah indicators.
  • Headers now display the actual day name (e.g. שחרית ליום ג׳) instead of הבא.

📅 Shabbos Enhancements

  • Added שבת שירה to the Special Shabbos sensor.

⚡ Performance Improvement

  • Improved location handling to avoid repeated lookups on every restart.

Full Changelog: v0.5.4...v0.5.5

New Krias HaTorah sensor

19 Dec 00:12
7a0fad1

Choose a tag to compare

בס"ד

🕮 New — Krias HaTorah sensorNot fully tested yet - Users should verify behavior and open a GitHub issue if anything looks wrong.

  • Added Krias HaTorah sensor under YidCal — Display:
    • sensor.yidcal_krias_hatorah — shows the current or next Krias HaTorah, including how many ס"ת, aliyos, and a short reason (State = summary like ג' ס"ת • ספר א' - מקץ (פרשת השבוע) • ספר ב' - פינחס (ראש חודש) • ספר ג' - נשא (מפטיר ו׳ דחנוכה)).

⚙️ New minhag options (config flow)

  • Added two optional booleans (both default off) to match your shul’s minhag:
    • ?ליינט מען קרבנות אום שלוש עשרה מדות — include קרבנות leining at Mincha on שלוש עשרה מדות days.
    • ?ליינט מען משנה תורה הושענא רבה ביינאכט — include משנה תורה leining for הושענא רבה by night.
  • Leave them false if your minhag is to say these yourself, or not to lein קרבנות from the בימה.

No breaking entity-ID changes in this release.

Full Changelog: v0.5.3...v0.5.4

Bug Fixes

08 Dec 16:15
f12f668

Choose a tag to compare

Fixed Special Prayer Sensor to show יעלה ויבוא on חנוכה ראש חודש.

Full Changelog: v0.5.2...v0.5.3