Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add charging binary sensor #6

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

landonr
Copy link

@landonr landonr commented Sep 9, 2023

added a binary sensor to indicate if the battery is charging

sensor:
  - platform: axp192
    model: M5STICKC
    id: axp_192
    address: 0x34
    i2c_id: bus_a
    update_interval: 1s
    brightness: 1.0
    charging:
      name: "${friendly_name} Charging"
      id: axp_charger
    battery_level:
      name: "${friendly_name} Battery Percent"
      id: batteryPercent

@landonr
Copy link
Author

landonr commented Oct 12, 2023

@martydingo can you check this out?

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.

1 participant