esphome/esphome/dashboard
J. Nick Koston 214b419db2
dashboard: Use mdns cache when available if device connection is OTA (#5724)
* Use mdns or freshen cache when device connection is OTA

Since we already have a service browser running, we likely
already know the IP of the deivce we want to connect to so
we can replace OTA with the address to avoid the esphome
app having to look it up again

* isort

* Fix zeroconf name resolution refactoring error

HostResolver should get the type as the first arg instead
of the name

* no i/o

* tornado support native coros

* lint

* use new tornado start methods

* use new tornado start methods

* use new tornado start methods

* break

* lint

* lint

* typing, missing awaits

* io in executor

* missed one

* fix: missing if

* stale comment

* rename run_command to build_device_command since it does not actually run anything
2023-11-14 21:21:44 -05:00
..
__init__.py Rename esphomeyaml to esphome (#426) 2019-02-13 16:54:02 +01:00
async_adapter.py dashboard: Use mdns cache when available if device connection is OTA (#5724) 2023-11-14 21:21:44 -05:00
dashboard.py dashboard: Use mdns cache when available if device connection is OTA (#5724) 2023-11-14 21:21:44 -05:00
util.py Add friendly_name to device (#4296) 2023-01-17 10:28:09 +13:00