Use model_id in devolo_home_control (#122066)
This commit is contained in:
parent
6921e053e4
commit
7bf4e4779c
2 changed files with 2 additions and 0 deletions
|
@ -40,6 +40,7 @@ class DevoloDeviceEntity(Entity):
|
|||
identifiers={(DOMAIN, self._device_instance.uid)},
|
||||
manufacturer=device_instance.brand,
|
||||
model=device_instance.name,
|
||||
model_id=device_instance.identifier,
|
||||
name=device_instance.settings_property["general_device_settings"].name,
|
||||
suggested_area=device_instance.settings_property[
|
||||
"general_device_settings"
|
||||
|
|
|
@ -117,6 +117,7 @@ class DeviceMock(Zwave):
|
|||
self.uid = "Test"
|
||||
self.device_model_uid = "Test"
|
||||
self.device_type = "Test"
|
||||
self.identifier = "MT01234"
|
||||
self.settings_property = {"general_device_settings": SettingsMock()}
|
||||
self.href = "https://www.mydevolo.com"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue