Skip to content

fix(#73): add rotor stuck error binary sensor for OneRFIDSmartFeeder - #252

Open
dennismdejong wants to merge 1 commit into
jjjonesjr33:devfrom
dennismdejong:fix/upstream-73
Open

fix(#73): add rotor stuck error binary sensor for OneRFIDSmartFeeder#252
dennismdejong wants to merge 1 commit into
jjjonesjr33:devfrom
dennismdejong:fix/upstream-73

Conversation

@dennismdejong

Copy link
Copy Markdown

Fixes #73

Problem: The OneRFID Smart Feeder's data/data/realInfo API response includes an exceptionMessage field when a rotor is stuck (e.g., "exceptionMessage": "Rotor stuck"), but this was not exposed in Home Assistant.

Changes:

  • Added device_data_real_info API call to OneRFIDSmartFeeder.refresh() to fetch the dataRealInfo response
  • Added rotor_stuck property that checks exceptionMessage for rotor/stuck keywords
  • Added rotor_stuck PROBLEM binary sensor to the OneRFIDSmartFeeder entity list

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.

[Bug]: Rotor stuck error not reported in RFID feeder

1 participant