Add local_ip component (#29973)

* 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>
This commit is contained in:
IssacandFabian Affolter authored and Martin Hjelmare committed 2019-12-31 14:34:53 +01:00
1 parent 5414e9d155
commit 3f570245aa
10 files changed
+179

No files matched your search

+1
View File
@@ -46,6 +46,7 @@ FLOWS = [
"life360",
"lifx",
"linky",
"local_ip",
"locative",
"logi_circle",
"luftdaten",