Skip to content

Comments

Google Calendar#117

Open
Mmiless wants to merge 4 commits intoopenhome-dev:devfrom
Mmiless:dev
Open

Google Calendar#117
Mmiless wants to merge 4 commits intoopenhome-dev:devfrom
Mmiless:dev

Conversation

@Mmiless
Copy link

@Mmiless Mmiless commented Feb 23, 2026

What does this Ability do?

Google Calendar integration. Schedule, move around, invite people to events using OpenHome.

Suggested Trigger Words

  • Calendar
  • Schedule
  • What is on my
  • Reschedule
  • Invite
  • Uninvite
  • What do I have going on
  • Who's on
  • Who's going to be
  • Cancel

Type

  • New community Ability
  • Improvement to existing Ability
  • Bug fix
  • Documentation update

External APIs

  • No external APIs
  • Uses external API(s): Google Oauth and Google Calendar API. More in README.

Testing

  • Tested in OpenHome Live Editor
  • All exit paths tested (said "stop", "exit", etc.)
  • Error scenarios tested (API down, bad input, etc.)

Checklist

  • Files are in community/my-ability-name/
  • main.py follows SDK pattern (extends MatchingCapability, has register_capability + call)
  • README.md included with description, suggested triggers, and setup
  • resume_normal_flow() called on every exit path
  • No print() — using editor_logging_handler
  • No hardcoded API keys — using placeholders
  • No blocked imports (redis, connection_manager, user_config)
  • No asyncio.sleep() or asyncio.create_task() — using session_tasks
  • Error handling on all external calls
  • Tested in OpenHome Live Editor

@Mmiless Mmiless requested a review from a team as a code owner February 23, 2026 05:37
@github-actions github-actions bot added the first-contribution First-time contributor label Feb 23, 2026
@github-actions
Copy link
Contributor

🔀 Branch Merge Check

PR direction: devdev

Failed — Cannot merge 'dev' into 'dev'. Use your feature branch (e.g. slow-music → dev).

Allowed for community contributors:

your-ability-branch  →  dev     ✅

Blocked patterns:

anything             →  main    ❌
dev                 →  dev     ❌
main                →  dev     ❌

Close this PR and re-open it with the correct branch direction.

@github-actions github-actions bot added the community-ability Community-contributed ability label Feb 23, 2026
@github-actions
Copy link
Contributor

❌ Ability Validation Failed

📋 Validating: community/google-calendar
  ❌ raw open() is not allowed — use capability_worker file helpers (read_file, write_file, etc.) instead
  ❌ Missing register capability tag — add the following line to your class:
    #{{register capability}}
See: https://docs.openhome.com/how_to_build_an_ability
  ❌ 2 error(s) found

📚 How to fix

@github-actions
Copy link
Contributor

🔍 Lint Results

🔧 Auto-formatted

Some files were automatically cleaned and formatted with autoflake + autopep8 and committed.

  • Unused imports removed (autoflake)
  • Unused variables removed (autoflake)
  • PEP8 formatting applied (autopep8)

__init__.py — Empty as expected

Files linted: community/google-calendar/main.py community/google-calendar/token_gen.py

❌ Flake8 Errors (could not be auto-fixed)

community/google-calendar/main.py:1081:13: F841 local variable 'query_dt' is assigned to but never used

Fix the remaining issues and push again. The lint will re-run automatically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-ability Community-contributed ability first-contribution First-time contributor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant