Skip to content

Commit

Permalink
Update camera.py
Browse files Browse the repository at this point in the history
  • Loading branch information
azerty9971 committed Jan 31, 2025
1 parent 7c023e3 commit f097175
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/xtend_tuya/camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def async_discover_device(device_map) -> None:
if device := hass_data.manager.device_map.get(device_id):
if device.category in merged_categories:
if XTCameraEntity.should_entity_be_added(device, hass_data.manager):
entities.append(XTCameraEntity(device, hass_data.manager))
entities.append(XTCameraEntity(hass, device, hass_data.manager))

async_add_entities(entities)

Expand Down

0 comments on commit f097175

Please sign in to comment.