async def METHOD_NAME(self):
    async with assert_device_properties_set(
        self.subject._device,
        {POWER_DP: True, MODE_DP: "2"},
    ):
        await self.subject.async_set_operation_mode(STATE_ELECTRIC)