mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
Use ESPHome manufacturer name from device if provided (#80928)
This commit is contained in:
parent
f85a2fb57a
commit
97d31d05f0
@ -307,6 +307,8 @@ def _async_setup_device_registry(
|
|||||||
configuration_url = f"http://{entry.data['host']}:{device_info.webserver_port}"
|
configuration_url = f"http://{entry.data['host']}:{device_info.webserver_port}"
|
||||||
|
|
||||||
manufacturer = "espressif"
|
manufacturer = "espressif"
|
||||||
|
if device_info.manufacturer:
|
||||||
|
manufacturer = device_info.manufacturer
|
||||||
model = device_info.model
|
model = device_info.model
|
||||||
hw_version = None
|
hw_version = None
|
||||||
if device_info.project_name:
|
if device_info.project_name:
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"name": "ESPHome",
|
"name": "ESPHome",
|
||||||
"config_flow": true,
|
"config_flow": true,
|
||||||
"documentation": "https://www.home-assistant.io/integrations/esphome",
|
"documentation": "https://www.home-assistant.io/integrations/esphome",
|
||||||
"requirements": ["aioesphomeapi==11.1.1"],
|
"requirements": ["aioesphomeapi==11.2.0"],
|
||||||
"zeroconf": ["_esphomelib._tcp.local."],
|
"zeroconf": ["_esphomelib._tcp.local."],
|
||||||
"dhcp": [{ "registered_devices": true }],
|
"dhcp": [{ "registered_devices": true }],
|
||||||
"codeowners": ["@OttoWinter", "@jesserockz"],
|
"codeowners": ["@OttoWinter", "@jesserockz"],
|
||||||
|
@ -153,7 +153,7 @@ aioecowitt==2022.09.3
|
|||||||
aioemonitor==1.0.5
|
aioemonitor==1.0.5
|
||||||
|
|
||||||
# homeassistant.components.esphome
|
# homeassistant.components.esphome
|
||||||
aioesphomeapi==11.1.1
|
aioesphomeapi==11.2.0
|
||||||
|
|
||||||
# homeassistant.components.flo
|
# homeassistant.components.flo
|
||||||
aioflo==2021.11.0
|
aioflo==2021.11.0
|
||||||
|
@ -140,7 +140,7 @@ aioecowitt==2022.09.3
|
|||||||
aioemonitor==1.0.5
|
aioemonitor==1.0.5
|
||||||
|
|
||||||
# homeassistant.components.esphome
|
# homeassistant.components.esphome
|
||||||
aioesphomeapi==11.1.1
|
aioesphomeapi==11.2.0
|
||||||
|
|
||||||
# homeassistant.components.flo
|
# homeassistant.components.flo
|
||||||
aioflo==2021.11.0
|
aioflo==2021.11.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user