[wifi_info] Add IP address text sensor#58
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)
WalkthroughThe pull request adds a new text_sensor configuration to an ESPHome YAML file that exposes the device's WiFi IP address. This introduces a Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@Integrations/ESPHome/Core.yaml`:
- Around line 716-720: Add entity_category: "diagnostic" to the ip_address
sensor under the wifi_info platform so it is placed under the device's
diagnostic entities; locate the wifi_info platform block and the ip_address
sub-key (id: wifi_ip) and add the entity_category property (matching the
wifi_signal_db diagnostic pattern) and optionally add an icon line to match
other diagnostic sensors in this file.
Version: 25.8.12.1
What does this implement/fix?
Adds the device's IP address as a diagnostic text sensor using the built-in ESPHome
wifi_infoplatform. The sensor publishes the IP immediately on WiFi connect and updates if it changes — no polling required. It appears in Home Assistant under the device's diagnostic entities, making local access and debugging easier without needing to check the router.Types of changes
Checklist / Checklijst:
If user-visible functionality or configuration variables are added/modified:
Summary by CodeRabbit