* Added localip component * Split config and core logic, and migrate to sensor platform (requested by @MartinHjelmare) Also allow overriding the sensor name via the config * Tweak docstring Co-Authored-By: Fabian Affolter <mail@fabian-affolter.ch> * Initial support for config entries * Rename localip to local_ip (1/2) * Rename localip to local_ip (2/2) * Add test for config_flow * Split and rename tests * Remove unneeded code from config_flow * Implement configuration as config entry import. Other misc requested changes from code review. * Fix tests * minor code review fixes * remove unneeded code Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch>
17 lines
321 B
JSON
17 lines
321 B
JSON
{
|
|
"config": {
|
|
"title": "Local IP Address",
|
|
"step": {
|
|
"user": {
|
|
"title": "Local IP Address",
|
|
"data": {
|
|
"name": "Sensor Name"
|
|
}
|
|
}
|
|
},
|
|
"abort": {
|
|
"already_configured": "Integration is already configured with an existing sensor with that name"
|
|
}
|
|
}
|
|
}
|