Skip to content

Set device_class: button on template button events - #42

Merged
Bunton33 merged 1 commit into
ApolloAutomation:betafrom
Doekse:fix/event-device-class-button
Aug 14, 2026
Merged

Set device_class: button on template button events#42
Bunton33 merged 1 commit into
ApolloAutomation:betafrom
Doekse:fix/event-device-class-button

Conversation

@Doekse

@Doekse Doekse commented Aug 14, 2026

Copy link
Copy Markdown

Version: 26.8.14.1

What does this implement/fix?

Set device_class: button on the Button 1–4 template event entities.

Without device_class, Home Assistant (and Homey) treat them as generic events instead of button events, so button-specific automations/integrations never match.

Types of changes

  • Bugfix (fixed change that fixes an issue)
  • New feature (thanks!)
  • Breaking change (repair/feature that breaks existing functionality)
  • Dependency Update - Does not publish
  • Other - Does not publish
  • Website of github readme file update - Does not publish
  • Github workflows - Does not publish

Checklist / Checklijst:

  • The code change has been tested and works locally
  • The code change has not yet been tested

If user-visible functionality or configuration variables are added/modified:

  • Added/updated documentation for the web page

Without device_class, HA/Homey treat Button 1–4 as generic events instead of button events, so button-specific automations never match.
@coderabbitai

coderabbitai Bot commented Aug 14, 2026

Copy link
Copy Markdown

Important

Review available on request

  • 🔍 Trigger review

Reviews should be triggered manually for repositories with fewer than 10 stars. Select Trigger review above or comment @coderabbitai review to review the latest changes. For a full review, comment @coderabbitai full review.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 7b57c78c-9d1b-4256-935b-5740c8dbae34


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@bharvey88 bharvey88 added the bugfix Bug fix label Aug 14, 2026
@Bunton33
Bunton33 merged commit eab37d8 into ApolloAutomation:beta Aug 14, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants