-
Notifications
You must be signed in to change notification settings - Fork 41
Conversation
Lots of updates to intervals, edge cases, holidays, etc.
First off... thank you for this PR. I'm really sorry, I haven't had the time to keep this repository checked and updated, And I haven't noticed this PR until now. I just came in now to mark this repository as Not maintained and on my way out I saw it. Can you please elaborate on what this changes accomplish (if they are still relevant)? |
Hi TomerFi! |
I believe the same result using this custom component can be accomplished using the built in component Jewish Calendar. I still use it myself, as you can see in my ha configuration, but I plan on deleting it eventually. |
You're totally right but for me, there's been an hour offset to Shabbat start and stop times ever since daylight savings time. See my the issue I posted about this here so in the meantime, I've been using this. (I hope they fix the Jewish calendar soon! :) |
Other then the offset, were you able to get the shabbat start and end time correctly? I haven't tried |
Before daylight saving time, it worked perfectly! the "issue mleccha in effect" boolean is especially useful |
Hey guys,
So I wrote a lot of the Shabbat start/end specific stuff for the Jewish
Calendar component. There's still some differences, but largely I actually
made the Jewish Calendar way better and more accurate. I haven't looked at
the offset bug, but I can take a look when I get a chance. I've been
running both my version of Shabbat Times and Jewish Calendar at the same
time and I've basically migrated entirely to Jewish Calendar and would
recommend you look into doing so.
…On Thu, Jul 4, 2019, 1:20 PM Tomer Figenblat ***@***.***> wrote:
Other then the offset, were you able to get the shabbat start and end time
correctly?
I haven't tried Jewish Calendar yet, and I would love to retire the Shabbat
Times custom component completely if getting the start and end time can
be accomplished with Jewish Calendar.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#36?email_source=notifications&email_token=AKNQ4RADVCX4J64AOCWSBYLP5YWOJA5CNFSM4HFMVIM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZH4BFI#issuecomment-508543125>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AKNQ4RCIVBJIGQBZE56LXELP5YWOJANCNFSM4HFMVIMQ>
.
|
I'm actually puzzled you're having a DST issue since I don't see that in my
setup. I'll check it out.
…On Thu, Jul 4, 2019, 1:33 PM theChef613 ***@***.***> wrote:
Other then the offset, were you able to get the shabbat start and end time
correctly?
I haven't tried Jewish Calendar yet, and I would love to retire the Shabbat
Times custom component completely if getting the start and end time can
be accomplished with Jewish Calendar.
Before daylight saving time, it worked perfectly! the "issue mleccha in
effect" boolean is especially useful
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#36?email_source=notifications&email_token=AKNQ4RC3Y5SOMFNDNNLWHMLP5YYAHA5CNFSM4HFMVIM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZH4R4A#issuecomment-508545264>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AKNQ4RGHOJFOJ5U2GRW3MMDP5YYAHANCNFSM4HFMVIMQ>
.
|
@arigilder I'm looking forward to retire my custom component! |
@theChef613 Just went to look at it - looks like @tsvi updated py-libhdate to include a fix for this. See if you can pull the latest version down and check if it works. |
Hi! Thank you! I'm still relatively new to HA so i'm not sure how to specifically pull a version of it... I just added it to my config.yaml |
In the meanwhile, if you want, I have a template sensor you can use that doesn't depend on issur melacha in effect:
Hope that helps get you working with the Jewish Calendar component while you wait for the other fix to hit HA. |
Amazing! |
Hi! @arigilder when I try to implement your template sensor I get the following error: |
@theChef613 Take out the following lines:
That's just a testing mechanism I have. |
Works now, thanks! |
Thanks, @arigilder . That's also a useful sensor to use as a basis for those of us who make "early shabbos" (at plag hamincha) in the summer! |
I have early shabbos set up as an input_datetime but you could definitely
set it up to be plag from the jewish_calendar component.
…On Wed, Jul 10, 2019, 7:58 AM Mike Miller ***@***.***> wrote:
Thanks, @arigilder <https://github.com/arigilder> . That's also a useful
sensor to use as a basis for those of us who make "early shabbos" (at plag
hamincha) in the summer!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#36?email_source=notifications&email_token=AKNQ4RBBIAMMCUY2VYTQSDLP6XFG5A5CNFSM4HFMVIM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZTHJ2Y#issuecomment-510031083>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AKNQ4RGQDAXINUQYMXV7ALTP6XFG5ANCNFSM4HFMVIMQ>
.
|
I did :-) |
see breaking changes here: https://www.home-assistant.io/blog/2019/04/03/release-91/.
from custom_components.sensor import shabbat_times_util as shabbat
should be
from custom_components.shabbat_times import shabbat_times_util as shabbat
the "sensor" folder should be changed to "shabbat_times" and the "shabbat_times" file should change to "sensor.py", see attached file.
shabbat_times.zip