[wifi_info] Add entity_category diagnostic to IP address sensor#56
[wifi_info] Add entity_category diagnostic to IP address sensor#56TrevorSchirmer merged 1 commit intobetafrom
Conversation
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
Implements the same pattern as MSR-2 PR #56 to allow users to adjust the LTR390 light sensor polling frequency without reflashing. Uses an interval component workaround since ESPHome update_interval is not templatable on sensor platforms. - Add ltr390_last_update global to track last sensor update time - Add LTR390 Update Interval number input (1-300s, default 60s, CONFIG) - Set LTR390 update_interval to never (disables automatic polling) - Add 1s interval component that triggers sensor update when configured interval has elapsed
What does this implement/fix?
Adds
entity_category: "diagnostic"to thewifi_infoIP address text sensor inCore.yaml.This was missing from the original implementation — without it the IP address sensor appears in the main entity list rather than being grouped under Diagnostics in Home Assistant.
Types of changes
Checklist: