Add option to ignore availability in google calendar events#13714
Merged
syssi merged 7 commits intohome-assistant:devfrom Apr 6, 2018
Merged
Add option to ignore availability in google calendar events#13714syssi merged 7 commits intohome-assistant:devfrom
syssi merged 7 commits intohome-assistant:devfrom
Conversation
This was referenced Apr 6, 2018
syssi
approved these changes
Apr 6, 2018
syssi
requested changes
Apr 6, 2018
Member
syssi
left a comment
There was a problem hiding this comment.
Ping me if the config is fixed.
syssi
approved these changes
Apr 6, 2018
Member
syssi
left a comment
There was a problem hiding this comment.
Looks good! Thanks for the code clean-up.
Member
|
Could you check/update the tests? One is failing. |
Contributor
Author
|
Yeah, I just fixed that. Should be working fine now. |
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description:
This implements the transparency feature for google calendars. If for example an all-day event is present but it is set to 'free' HA now skips those events and shows the next. This can be turned on/off per calendar.
ignore_availabliltyis optional and defaults to false. It enables/disables whether to respect/ignore the transparency tag which can be opaque (busy) or transparent (free).Related issue (if applicable): fixes #6076 (only partial)
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.io#5101
Example entry for
configuration.yaml(if applicable):Checklist:
tox. Your PR cannot be merged unless tests passIf user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
REQUIREMENTSvariable (example).requirements_all.txtby runningscript/gen_requirements_all.py..coveragerc.If the code does not interact with devices: