Skip to content

Releases: J-Lindvig/Flagdays_DK

Bugfixes and improvements

18 Apr 19:48
1f297aa
Compare
Choose a tag to compare

The switch from https to http in the API had caused some strange errors, these should be fixed now.

SSL certificate on API broken

18 Apr 18:35
1215b8e
Compare
Choose a tag to compare

The online API for the calculations of sunrise and sunset in the future has a broken SSL certificate - switched to plain http....

Years passed and opmized code

31 Jan 19:17
64cd661
Compare
Choose a tag to compare

This release features a calculation on years passed in custom events, which is enabled by default and possible to bypass in configuration:

flagdays_dk:
  # Optional entries
  
  # Create attributes with specified offset in minutes
  # These are to be used as triggers in automatiions
  offset: 10
  
  # List of flags that we own and wish to use
  flags:
    - grΓΈnland
    - færø
    - pride
    - Jolly Roger

  # List of custom events
  # Required: name and date
  # Optional: flag
  events:
    - name: Jolly Roger Memorial Day
      date: 01-01-2022
      flag: Jolly Roger
      calculate_years: false # Do not calculate years on this event
    - name: Copenhagen Pride
      date: 01-08-2004
    - name: Tim Berners Lee Birthday
      date: 08-06-1955
    - name: Ada Lovelace Birthday
      date: 10-12-1815

Added to HACS and bugfix

29 Jan 12:08
da561bc
Compare
Choose a tag to compare

The integration is now added HACS.

Remove a minor in the date calculation custom events.

Fixed missing update on state

29 Jan 08:24
e6ffcd6
Compare
Choose a tag to compare

There was a minor bug where the state wasn't updated.
The bug were introduced when I minimized the load on the website holding the flagdays.

Fixed error in owner

27 Jan 12:12
4f144e8
Compare
Choose a tag to compare

There was an error in HACS requirement regarding the owner tag.

Fixed HACS requirements

27 Jan 10:46
6dd8de7
Compare
Choose a tag to compare

I was missing some fields in hasc.json and the manifest.

Friendly_name bug

26 Jan 19:11
142e9e4
Compare
Choose a tag to compare

The change of friendly_name to the event name was not working on new installations and have been reverted to 'flagdays'

Bugfix - update State

26 Jan 13:21
e912efe
Compare
Choose a tag to compare

There was an error causing a missing update on State. The bug was caused by a missing function since I removed the repeated scraping.

Optimized code and more options

25 Jan 19:12
654124c
Compare
Choose a tag to compare

Optimized code, removed redundant lines, Friendly_name is now name of element.

More options in custom events.