Add model_id to Reolink IPC camera (#146664)

This commit is contained in:
starkillerOG 2025-06-12 21:41:13 +02:00 committed by GitHub
parent 8d13bf93ab
commit d756cf91ce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -190,6 +190,7 @@ class ReolinkChannelCoordinatorEntity(ReolinkHostCoordinatorEntity):
via_device=(DOMAIN, self._host.unique_id), via_device=(DOMAIN, self._host.unique_id),
name=self._host.api.camera_name(dev_ch), name=self._host.api.camera_name(dev_ch),
model=self._host.api.camera_model(dev_ch), model=self._host.api.camera_model(dev_ch),
model_id=self._host.api.item_number(dev_ch),
manufacturer=self._host.api.manufacturer, manufacturer=self._host.api.manufacturer,
hw_version=self._host.api.camera_hardware_version(dev_ch), hw_version=self._host.api.camera_hardware_version(dev_ch),
sw_version=self._host.api.camera_sw_version(dev_ch), sw_version=self._host.api.camera_sw_version(dev_ch),