Skip to content

Exampes#2

Merged
TrevorSchirmer merged 1 commit into
mainfrom
Examples
Mar 8, 2026
Merged

Exampes#2
TrevorSchirmer merged 1 commit into
mainfrom
Examples

Conversation

@TrevorSchirmer
Copy link
Copy Markdown
Member

@TrevorSchirmer TrevorSchirmer commented Mar 8, 2026

Version:

What does this implement/fix?

  • Example YAML for modules

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

Summary by CodeRabbit

  • New Features

    • Added buzzer module with RTTTL song playback service
    • Added PIR motion sensor input
    • Added configurable push button
    • Added temperature and humidity monitoring
    • Added secondary RGB light module for expanded lighting control
  • Changes

    • Removed battery monitoring functionality
    • Reconfigured I2C bus connectivity
    • Simplified device boot sequence behavior
    • Renamed primary RGB light to "RGB Board Light"

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 8, 2026

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Free

Run ID: 28292ab5-d57f-4146-9f79-a2d595ca66ba

📥 Commits

Reviewing files that changed from the base of the PR and between 40fcb23 and 69910ad.

📒 Files selected for processing (1)
  • Integrations/ESPHome/ESK-1.yaml

Walkthrough

The pull request reconfigures an ESPHome device (ESK-1) by removing the battery monitoring system and initial boot sequence, adding buzzer, PIR motion sensor, button, and AHT10 temperature/humidity sensing modules, reworking I2C configuration, and introducing a second RGB light module alongside the renamed primary RGB light.

Changes

Cohort / File(s) Summary
Battery Monitor Removal
Integrations/ESPHome/ESK-1.yaml
Removed max17048 battery monitor dependency, related sensors (batt_v, batt_pct), update_battery_led script, and battery monitor updates from the reportAllValues script.
Buzzer Module Addition
Integrations/ESPHome/ESK-1.yaml
Added new buzzer module with play_buzzer service, RTTTL playback action, buzzer output configured on GPIO18, and associated RTTTL component.
Sensor Module Replacement
Integrations/ESPHome/ESK-1.yaml
Replaced battery voltage/level monitoring with AHT10-based temperature and humidity sensing (aht_20, aht_temperature, aht_humidity sensors).
PIR and Button Modules
Integrations/ESPHome/ESK-1.yaml
Introduced PIR motion sensor (io_pir) and button module (button_1) with GPIO-based inputs and associated functional handlers.
I2C Configuration Rework
Integrations/ESPHome/ESK-1.yaml
Commented out original I2C bus; introduced secondary I2C bus (i2c_bus_2) using GPIO1/GPIO0.
Lighting and Accessory Updates
Integrations/ESPHome/ESK-1.yaml
Renamed "RGB Light" to "RGB Board Light"; added new "RGB Module Light" module; added setup_priority: 2000 to accessory power switch.
Boot Sequence Removal
Integrations/ESPHome/ESK-1.yaml
Removed on_boot initialization that configured RGB light brightness/color, delays, and battery LED updates.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Poem

🐰 Hop and beep! The device now sings,
With buzzer tunes and motion rings,
Old batteries fade to AHT's embrace,
Fresh sensors brighten every trace,
Two RGB lights dance in place—
Our config hops to brighter grace! ✨


Note

🎁 Summarized by CodeRabbit Free

Your organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login.

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

@github-actions github-actions Bot added the new-feature New feature label Mar 8, 2026
@TrevorSchirmer TrevorSchirmer merged commit d7b7743 into main Mar 8, 2026
6 checks passed
@TrevorSchirmer TrevorSchirmer deleted the Examples branch March 8, 2026 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-feature New feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant