Skip to content

Add AirPlayEnable characteristic + service for SmartSpeakers#492

Open
wingrunr21 wants to merge 1 commit into
ikalchev:devfrom
wingrunr21:add_smartspeaker_support
Open

Add AirPlayEnable characteristic + service for SmartSpeakers#492
wingrunr21 wants to merge 1 commit into
ikalchev:devfrom
wingrunr21:add_smartspeaker_support

Conversation

@wingrunr21

Copy link
Copy Markdown

Two changes:

  1. Adds AirPlayEnable characteristic
  2. Adds SmartSpeaker service

This is in prep for a PR against HA core to address the "group of switches" issues referenced in #275 and in home-assistant/core#157319

Should be consistent with the definitions in HAP-NodeJS:

Copilot AI review requested due to automatic review settings June 17, 2026 13:19

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds HomeKit resource definitions needed to represent smart speakers with AirPlay support.

Changes:

  • Added a new SmartSpeaker service definition with media-state requirements.
  • Added an AirPlayEnable characteristic definition (read/write + events) for toggling AirPlay.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
pyhap/resources/services.json Introduces SmartSpeaker service metadata and characteristic requirements/optionals.
pyhap/resources/characteristics.json Defines the AirPlayEnable characteristic used by the new service.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +75 to +85
"AirPlayEnable": {
"Format": "uint8",
"Permissions": [
"pr",
"pw",
"ev"
],
"UUID": "0000025B-0000-1000-8000-0026BB765291",
"maxValue": 1,
"minValue": 0
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants