esphome
esphome copied to clipboard
New platform ethernet_info from component text_sensor
What does this implement/fix?
Quick description and explanation of changes
Types of changes
- [ ] Bugfix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] Other
Related issue or feature (if applicable): fixes
Pull request in esphome-docs with documentation (if applicable): esphome/esphome-docs#<esphome-docs PR number goes here>
Test Environment
- [x] ESP32
- [ ] ESP32 IDF
- [ ] ESP8266
Example entry for config.yaml
:
text_sensor:
- platform: ethernet_info
ip_address:
name: IP Address
Checklist:
- [x] The code change is tested and works locally.
- [x] Tests have been added to verify that the new code works (under
tests/
folder).
If user exposed functionality or configuration variables are added/changed:
- [x] Documentation added/updated in esphome-docs.
Hey there @gtjadsonsantos,
Thanks for submitting this pull request! Can you add yourself as a codeowner for this integration? This way we can notify you if a bug report for this integration is reported.
In __init__.py
of the integration, please add:
CODEOWNERS = ["@gtjadsonsantos"]
And run script/build_codeowners.py
(message by NeedsCodeownersLabel)