This binary sensor stopped working several months ago (judging by the developer tool) for some unknown reason. I tried to revive it by restarting HA’s docker container. It didn’t help. Then I removed the sensor from within UI and restarted the container again hoping it will be recreated upon reboot. It didn’t happen - how can I restore this binary sensor now (and preferably make it function)?
Can I create this binary_sensor manually somehow after I have deleted it?
Can I re-create any binary_sensor after it was deleted via UI?
Have you tried deleting and re-installing the Jewish calendar integration?
Did the logging tell you something about the integration or sensor?
I don’t remember how I have installed the integration in the past, but on my integration page I don’t have it now, neither as installed:
nor as available (but not yet installed) integrations:
Nevertheless Jewish Calendar integration is installed and it’s other sensors are functioning as expected.
I do have relevant stuff in the configuration.yaml which I’ve commented out, then stopped and removed the docker container with HA. Once I’ve started a new HA container and checked via the developer tools the state of another sensors - the sensor was in the list, but it’s state was - unavailable.
So I stopped and removed HA container once again. Re-enabled the stuff in configuration.yaml, started new HA container. And the above mentioned sensors returned to life showing proper state, how the binary_sensor I’ve deleted didn’t re-appear… Any ideas?
Now, that the sensor binary_sensor.erev_shabbat_hag
was deleted - I can’t choose it in logbook while analyzing the logs…
Just for completeness and because sometimes the solution can be just simple… Did you check if the missing binary sensor is in the list of entities with all entities shown (including disabled,…)? Usually there is a active filter under Settings/Devices…/Entities. In this list you can filter to entities you won’t see otherwise.
It depends very much on which version of Hass you’re running.
In 2024.6 the UI configuration was added. In 2024.7 or .8 I disabled by default the erev hag sensor, requiring the user to enable it.
Without that info I can’t really help you.
I suggest you update to the latest, remove whatever you had in the configuration.yaml regarding Jewish calendar and add it manually from the UI, then go into the integration card and enable the binary sensor.
FYI for any Jewish calendar users, always feel free to ping me using my handle. I try to reply asap, but I don’t monitor the forums.
I use version ‘2021.12.5’ and this because later versions removed rpi_gpio integration which I must use with my RaspberryPI Zero. I wish I could upgrade. Do you know how I can re-enable the binary_sensor.erev_shabbat_hag
in that version?
Wow that’s 3 years behind. Unfortunately no.
I can think of 2 potential solutions:
- remove completely Jewish calendar and add it back. That can be painful, as back in those versions there were a whole bunch of bugs that were fixed. You’ll need to manually clean the .storage files to remove mentions of the Jewish calendar.
- maybe you can bring the latest version of Jewish calendar as a custom_component?
- Last option would be to maybe try and bring the rpi_gpio as a custom componnet
thanks, but this didn’t help