home-assistant / home-assistant.io

:blue_book: Home Assistant User documentation
https://www.home-assistant.io
Other
5.05k stars 7.33k forks source link

Islamic Prayer time feedback / Request for clarification #17275

Closed wilpernig closed 3 years ago

wilpernig commented 3 years ago

Feedback

The Prayer Time integration shows the time past and in how many hours / minutes the event was, or will be. I like to set the display output to the actual time in the local time zone. Please provide feedback on how to set this output parameter to get time vs. Delta time to the event.

URL

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

Version

2021.3.4

ubbeus commented 3 years ago

Also it still has the problem of only showing prayer time in UTC regardless of local time.

najamshah1 commented 3 years ago

Below will give you local time and not in terms of hours and events 'format: time'

type: entities entities:

wsb4331 commented 3 years ago

Below configuration I made hope that helps:

cards:
  - entities:
      - entity: automation.adhan_fajr_2
      - entity: automation.adhan_dhuhr_and_asr
      - entity: automation.adhan_maghrib_and_isha
      - entity: sensor.sunrise_time
        format: time
      - entity: sensor.fajr_prayer
        format: time
      - entity: sensor.dhuhr_prayer
        format: time
      - entity: sensor.asr_prayer
        format: time
      - entity: sensor.maghrib_prayer
        format: time
      - entity: sensor.isha_prayer
        format: time
    title: AZAN
    footer:
      type: picture
      image: http://x.x.x.x:8123/local/Azan_001.png
      tap_action:
        action: none
      hold_action:
        action: none
    show_header_toggle: false
    state_color: false
    type: entities
type: vertical-stack
github-actions[bot] commented 3 years ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved. If this issue is still relevant, please let us know by leaving a comment 👍 This issue has now has been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.