pinkywafer / calendarific Goto Github PK
View Code? Open in Web Editor NEWCalendarific holiday sensor for Home Assistant
License: MIT License
Calendarific holiday sensor for Home Assistant
License: MIT License
I installed this custom component and noticed that the date of the holiday is a day off. The number of days until the holiday seem correct just not the date.
Would it be possible to an extra unique attribute to the sensor say no_of_days set the same as the state value . This will allow easy filtering with love lace cards , so I can popup an alert with https://github.com/thomasloven/lovelace-auto-entities. Would save me having to make lots of template sensors
WARNING (ImportExecutor_0) [homeassistant.helpers.typing] HomeAssistantType was used from calendarific, this is a deprecated alias which will be removed in HA Core 2025.5. Use homeassistant.core.HomeAssistant instead, please report it to the author of the 'calendarific' custom integration
Trying to add a new holiday and just getting:
No holidays found. Ensure that you have configured Calendarific with a valid country and api key. [Please read the instructions](https://github.com/pinkywafer/Calendarific).
Confirmed the API key is correct, country configured, everything is good. Existing holidays are working (e.g. Easter now says 4/20/25) so the API key must be good.
Nothing useful in the logs even with debug mode enabled.
I tested calling the API with curl and it works as expected.
Is it api issue it stopped showing api key is ok calls are bellow 200/month data is unavalable.
Is someone still maintain the calendarific.com. I have been reset my password on the site with the reset link provided on email but still can login into my account as I still get the error message "Invalid email or password. Please try again. " and now I'm not able to use my API key.
If I register again says that email _Guess what? You already have an account with us! Login or reset your password to gain access to you account _
I also email to [email protected] and [email protected] but with no success.
Is this a bug in application on the reset password.
I had to add all sensors separately via integration. nice would be a choice how many and which sensors of holidays we would like to add and bundle those inder ONE integration called Calendarific or so :)
From the log file
Detected I/O inside the event loop. This is causing stability issues. Please report issue to the custom component author for calendarific doing I/O at custom_components/calendarific/__init__.py, line 143: response = requests.get(url, params=parameters);
Ie. 'Data provided by calendarific.com'
Will be nice to have one sensor that will be the next coming holiday.
The documentation says that there are 2 calls when HA starts. Can you add a flag that will disable this reading (as when I add features to my HA, I usually do a lot of restarts per day).
Can we get unique_id in the configuration added? This would allow editing within the UI.
Invalid config for [sensor.calendarific]: [unique_id] is an invalid option for [sensor.calendarific]. Check: sensor.calendarific->unique_id. (See ?, line ?).
Invalid config for [sensor.calendarific]: [unique_id] is an invalid option for [sensor.calendarific]. Check: sensor.calendarific->unique_id. (See ?, line ?).
Invalid config for [sensor.calendarific]: [unique_id] is an invalid option for [sensor.calendarific]. Check: sensor.calendarific->unique_id. (See ?, line ?).
FEATURE REQUEST:
Have been using this for couple of months now. Great to have access to the holidays.
It would be great to have a full local calendar created from the list of holidays (similar to what https://github.com/mampfes/hacs_waste_collection_schedule does). This will make the integration infinitely more powerful in my opinion.
We could do automations like if today = holiday
(i.e. the calendar is on) then do not do certain things
.
What are you thoughts @pinkywafer
As it is I had to create a new theme just for this one card. Granted I'm kind of new to HA so I could just be making my life harder. But the ability to change the icon color based on various factors would be nice. Or even just a default change. Also, changing font and size doesn't seem to work. I was able to change the font with a theme adjustment, but not the font size, but again, that could just be my ignorance.
It pretty much stopped working at the beginning of the year. Will no longer show you how many days until the next holiday so you can't even use it in an automation any longer. It was in my opinion, the best integration for holiday lighting I had ever seen, and I hope it can get fixed. I've been trying everything to try to make it work again. Changing my API key after I sent this since it's included in one of the pictures.
The calendarific integration uses the word "days" and the anniversaries integration uses "Days" - really minor but I like consistency! Otherwise thanks for the tools!
From the log file
WARNING (MainThread) [homeassistant.helpers.translation] calendarific: the '.translations' directory has been moved, the new name is 'translations', starting with Home Assistant 0.111 your translations will no longer load if you do not move/rename this
In the past few days (looks like since 5/24), the Calendarific integration entries have been showing as unavailable and I've been getting API Limit exceeded errors. I am on the free plan, but looking at my account usage, I don't believe I am exceeding the limit at all. It's 1,000 requests per month, right?
This error originated from a custom integration.
Logger: custom_components.calendarific
Source: custom_components/calendarific/__init__.py:111
Integration: Calendarific (documentation)
First occurred: 12:52:02 PM (1 occurrences)
Last logged: 12:52:02 PM
API Limit Exceeded. Please upgrade your account. See https://calendarific.com/ for details.
Here's the Weekly Digest for pinkywafer/Calendarific:
Last week, no issues were created.
Last week, no pull requests were created, updated or merged.
Last week there were no commits.
Last week there were no contributors.
Last week there were no stargazers.
Last week there were no releases.
That's all for last week, please ๐ Watch and โญ Star the repository pinkywafer/Calendarific to receive next weekly updates. ๐
You can also view all Weekly Digests by clicking here.
Your Weekly Digest bot. ๐
For some reason the dates are not being returned, when I pull the state for a date I get the following...
date: '-'
description: NOT FOUND
attribution: Data provided by calendarific.com
unit_of_measurement: Days
friendly_name: Independence Day
icon: mdi:calendar-blank
Hi,
Please be patient with me as I'm just beginning with my HA system.
My integration was working and stopped. I even took effort to rebuild another HA system and install your calendarific API and still get this as an error with new installation. When I check on the calendarific website and logon with my ID , I show only 56 requests out of 1000 total api requests allowance.
I'm baffled as to what is wrong. I am assuming the freebie account is viable. Any tips you can provide?
Thanks in advance
**Logger: custom_components.calendarific
Source: custom_components/calendarific/init.py:111
Integration: Calendarific (documentation)
First occurred: 12:09:38 PM (1 occurrences)
Last logged: 12:09:38 PM
API Limit Exceeded. Please upgrade your account. See https://calendarific.com/ for details.**
It would be nice to have them added to the HA calendar. Perhaps this project can help:
Suddenly my Calendarific install errors out with an "Please upgrade your account" message from Calendarific. I regenerated my API key twice already and confirmed its correct in the configuration.yaml. Also confirmed I have not exceeded the maximum number of API requests according to the Calendarific website.
Any idea what might be causing this?
HA version:2022.10.0, latest version of Calendarific component.
On the Calendarific integration page not all the holidays listed on https://calendarific.com/holidays/2020/ca are listed. I live in British Columbia, Canada.
I'm looking to use the Calendarific integration with a fairly large number of sensors, and would like some way to easily filter out all the Calendarific sensors for use in scripts, templates, cards, etc., such as (for example) https://github.com/thomasloven/lovelace-auto-entities .
Would it be possible to have this integration mark all its created sensors as belonging to a single "Calendarific" device, or even place them in a common area, to provide an easy way to identify them collectively?
Entity sensor.HOLIDAY (<class 'custom_components.calendarific.sensor.calendarific'>) implements device_state_attributes. Please report it to the custom component author.
I'm guessing this has to do with how in HA 2021.12.2 "device_state_attributes" has been deprecated and replaced with extra_state_attributes in 2021.12.0b1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.