Set integration type for wyoming (#117519)

* Set integration type to wyoming

* Add entry_type
pull/117518/head^2
Paulus Schoutsen 2024-05-15 16:17:49 -04:00 committed by GitHub
parent 5e194b8a82
commit a95baf0d39
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 2 deletions

View File

@ -3,7 +3,7 @@
from __future__ import annotations
from homeassistant.helpers import entity
from homeassistant.helpers.device_registry import DeviceInfo
from homeassistant.helpers.device_registry import DeviceEntryType, DeviceInfo
from .const import DOMAIN
from .satellite import SatelliteDevice
@ -21,4 +21,5 @@ class WyomingSatelliteEntity(entity.Entity):
self._attr_unique_id = f"{device.satellite_id}-{self.entity_description.key}"
self._attr_device_info = DeviceInfo(
identifiers={(DOMAIN, device.satellite_id)},
entry_type=DeviceEntryType.SERVICE,
)

View File

@ -5,6 +5,7 @@
"config_flow": true,
"dependencies": ["assist_pipeline"],
"documentation": "https://www.home-assistant.io/integrations/wyoming",
"integration_type": "service",
"iot_class": "local_push",
"requirements": ["wyoming==1.5.3"],
"zeroconf": ["_wyoming._tcp.local."]

View File

@ -6858,7 +6858,7 @@
},
"wyoming": {
"name": "Wyoming Protocol",
"integration_type": "hub",
"integration_type": "service",
"config_flow": true,
"iot_class": "local_push"
},