async def test_switch_setup_camera_none(hass: HomeAssistant, mock_entry: MockEntityFixture, camera_none: Camera):
    'Test switch entity setup for camera devices (no enabled feature flags).'
    entity_registry = er.async_get(hass)
    for description in CAMERA_SWITCHES_BASIC:
        if (description.ufp_required_field is not None):
            continue
        (unique_id, entity_id) = ids_from_device_description(Platform.SWITCH, camera_none, description)
        entity = entity_registry.async_get(entity_id)
        assert entity
        assert (entity.unique_id == unique_id)
        state = hass.states.get(entity_id)
        assert state
        assert (state.state == STATE_OFF)
        assert (state.attributes[ATTR_ATTRIBUTION] == DEFAULT_ATTRIBUTION)
    description = CAMERA_SWITCHES[0]
    description_entity_name = description.name.lower().replace(':', '').replace(' ', '_')
    unique_id = f'{camera_none.id}_{description.key}'
    entity_id = f'switch.test_camera_{description_entity_name}'
    entity = entity_registry.async_get(entity_id)
    assert entity
    assert (entity.disabled is True)
    assert (entity.unique_id == unique_id)
    (await enable_entity(hass, mock_entry.entry.entry_id, entity_id))
    state = hass.states.get(entity_id)
    assert state
    assert (state.state == STATE_OFF)
    assert (state.attributes[ATTR_ATTRIBUTION] == DEFAULT_ATTRIBUTION)
Test switch entity setup for camera devices (no enabled feature flags).
async def test_switch_setup_camera_none(hass: HomeAssistant, mock_entry: MockEntityFixture, camera_none: Camera):
    
    entity_registry = er.async_get(hass)
    for description in CAMERA_SWITCHES_BASIC:
        if (description.ufp_required_field is not None):
            continue
        (unique_id, entity_id) = ids_from_device_description(Platform.SWITCH, camera_none, description)
        entity = entity_registry.async_get(entity_id)
        assert entity
        assert (entity.unique_id == unique_id)
        state = hass.states.get(entity_id)
        assert state
        assert (state.state == STATE_OFF)
        assert (state.attributes[ATTR_ATTRIBUTION] == DEFAULT_ATTRIBUTION)
    description = CAMERA_SWITCHES[0]
    description_entity_name = description.name.lower().replace(':', ).replace(' ', '_')
    unique_id = f'{camera_none.id}_{description.key}'
    entity_id = f'switch.test_camera_{description_entity_name}'
    entity = entity_registry.async_get(entity_id)
    assert entity
    assert (entity.disabled is True)
    assert (entity.unique_id == unique_id)
    (await enable_entity(hass, mock_entry.entry.entry_id, entity_id))
    state = hass.states.get(entity_id)
    assert state
    assert (state.state == STATE_OFF)
    assert (state.attributes[ATTR_ATTRIBUTION] == DEFAULT_ATTRIBUTION)