I am trying to use the Jewish calendar plugin, but the results are being displayed as hours rather than time.
For example, there is candle lighting time, rather than showing the time, it’s showing that there are 6 hours left.
Any suggestions?
I am trying to use the Jewish calendar plugin, but the results are being displayed as hours rather than time.
For example, there is candle lighting time, rather than showing the time, it’s showing that there are 6 hours left.
Any suggestions?
integration? If so, there’s a ton of different sensors it creates. Are you sure you’re looking at the correct one?
Also, the UI will show it as a relative time. The time ‘under the hood’ is a datetime. You can convert it to any timestamp you want using a template sensor.
Check out the state in the developer tools -> states page. A template like this will give you HH:MM
as_timestamp(states('sensor.upcoming_candle_lighting')) | timestamp_custom('%H:%M')
Thank you.
I put in the sensor of “sensor.jewish_calendar_upcoming_shabbat_candle_lighting”
and its displaying hours to instead of the time of.
Where would I add that template?
Thank you
add to lovelace:
format: time
for example:
entities:
- entity: sensor.jewish_calendar_date
name: תאריך
- entity: sensor.jewish_calendar_parshat_hashavua
name: פרשת שבוע
- entity: sensor.jewish_calendar_alot_hashachar
name: עלות השחר
format: time
- entity: sensor.jewish_calendar_latest_time_for_shma_gr_a
name: סוף זמן ק"ש
format: time
- entity: sensor.jewish_calendar_plag_hamincha
name: פלג המנחה
format: time
- entity: sensor.jewish_calendar_shkia
name: שקיעה
icon: 'hass:weather-sunset'
format: time
- entity: sensor.jewish_calendar_t_set_hakochavim
name: צאת הכוכבים
icon: 'hass:weather-night'
format: time
- entity: binary_sensor.jewish_calendar_issur_melacha_in_effect
name: איסור מלאכה
- entity: sensor.jewish_calendar_upcoming_candle_lighting
format: time
name: הדלקת נרות
- entity: sensor.jewish_calendar_upcoming_havdalah
format: time
name: הבדלה
Hi @yonanavon This is an old thread but still useful for what I’m looking for.
Perhaps you guide me as to where to input this code to add the time format?